BPO | [39573](https://bugs.python.org/issue39573) --- | :--- Nosy | @vstinner PRs | python/cpython#18388python/cpython#18389python/cpython#18390python/cpython#18391python/cpython#18392python/cpython#18393python/cpython#18394python/cpython#18398python/cpython#18400python/cpython#18402python/cpython#18411python/cpython#18419python/cpython#18488python/cpython#18496python/cpython#18507python/cpython#18508python/cpython#18521python/cpython#18601python/cpython#18789python/cpython#18798python/cpython#18799python/cpython#18804python/cpython#18809python/cpython#19882python/cpython#19975python/cpython#20290python/cpython#20391python/cpython#20429python/cpython#20610python/cpython#21262python/cpython#21433python/cpython#23366python/cpython#23375python/cpython#26493python/cpython#26550python/cpython#26596python/cpython#28128 *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.* Show more details GitHub fields: ```python assignee = None closed_at = created_at = labels = ['expert-C-API', '3.11'] title = '[C API] Avoid accessing PyObject and PyVarObject members directly: add Py_SET_TYPE() and Py_IS_TYPE(), disallow Py_TYPE(obj)=type' updated_at = user = 'https://github.com/vstinner' ``` bugs.python.org fields: ```python activity = actor = 'vstinner' assignee = 'none' closed = True closed_date = closer = 'vstinner' components = ['C API'] creation = creator = 'vstinner' dependencies = [] files = [] hgrepos = [] issue_num = 39573 keywords = ['patch'] message_count = 96.0 messages = ['361513', '361514', '361515', '361516', '361517', '361518', '361519', '361522', '361523', '361526', '361527', '361529', '361531', '361540', '361549', '361555', '361557', '361590', '361593', '361607', '361611', '361626', '361631', '361639', '361904', '361960', '361961', '361963', '361964', '361965', '361971', '361977', '361987', '361988', '362033', '362034', '362133', '362134', '362166', '362212', '362216', '362445', '363345', '363494', '363564', '365690', '366473', '366493', '368047', '369896', '369898', '370074', '370303', '370638', '370663', '370665', '370666', '370671', '370729', '370902', '370932', '372308', '373460', '379675', '379679', '379680', '379757', '379759', '381337', '381345', '381365', '381374', '381403', '381404', '382260', '382534', '382539', '382780', '382781', '382783', '394954', '394971', '395018', '395205', '395206', '395287', '395323', '395536', '401365', '401370', '401378', '401395', '401396', '401399', '403252', '410995'] nosy_count = 1.0 nosy_names = ['vstinner'] pr_nums = ['18388', '18389', '18390', '18391', '18392', '18393', '18394', '18398', '18400', '18402', '18411', '18419', '18488', '18496', '18507', '18508', '18521', '18601', '18789', '18798', '18799', '18804', '18809', '19882', '19975', '20290', '20391', '20429', '20610', '21262', '21433', '23366', '23375', '26493', '26550', '26596', '28128'] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue39573' versions = ['Python 3.11'] ``` ### Linked PRs * gh-120599