Title: Py_Finalize() doesn't clear all Python objects at exit · Issue #44470 · python/cpython · GitHub
Open Graph Title: Py_Finalize() doesn't clear all Python objects at exit · Issue #44470 · python/cpython
X Title: Py_Finalize() doesn't clear all Python objects at exit · Issue #44470 · python/cpython
Description: BPO 1635741 Nosy @amauryfa, @orsenthil, @vstinner, @tiran, @phsilva, @encukou, @ambv, @ericsnowcurrently, @serhiy-storchaka, @phmc, @DimitrisJim, @corona10, @miss-islington, @shihai1991, @erlend-aasland, @koubaa, @h-vetinari, @csabesz88,...
Open Graph Description: BPO 1635741 Nosy @amauryfa, @orsenthil, @vstinner, @tiran, @phsilva, @encukou, @ambv, @ericsnowcurrently, @serhiy-storchaka, @phmc, @DimitrisJim, @corona10, @miss-islington, @shihai1991, @erlend-aa...
X Description: BPO 1635741 Nosy @amauryfa, @orsenthil, @vstinner, @tiran, @phsilva, @encukou, @ambv, @ericsnowcurrently, @serhiy-storchaka, @phmc, @DimitrisJim, @corona10, @miss-islington, @shihai1991, @erlend-aa...
Opengraph URL: https://github.com/python/cpython/issues/44470
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Py_Finalize() doesn't clear all Python objects at exit","articleBody":"BPO | [1635741](https://bugs.python.org/issue1635741)\n--- | :---\nNosy | @amauryfa, @orsenthil, @vstinner, @tiran, @phsilva, @encukou, @ambv, @ericsnowcurrently, @serhiy-storchaka, @phmc, @DimitrisJim, @corona10, @miss-islington, @shihai1991, @erlend-aasland, @koubaa, @h-vetinari, @csabesz88, @kumaraditya303, @CharlieZhao95\nPRs | \u003cli\u003epython/cpython#17835\u003c/li\u003e\u003cli\u003epython/cpython#17883\u003c/li\u003e\u003cli\u003epython/cpython#18030\u003c/li\u003e\u003cli\u003epython/cpython#18032\u003c/li\u003e\u003cli\u003epython/cpython#18049\u003c/li\u003e\u003cli\u003epython/cpython#18050\u003c/li\u003e\u003cli\u003epython/cpython#18065\u003c/li\u003e\u003cli\u003epython/cpython#18066\u003c/li\u003e\u003cli\u003epython/cpython#18358\u003c/li\u003e\u003cli\u003epython/cpython#18365\u003c/li\u003e\u003cli\u003epython/cpython#18374\u003c/li\u003e\u003cli\u003epython/cpython#18404\u003c/li\u003e\u003cli\u003epython/cpython#18486\u003c/li\u003e\u003cli\u003epython/cpython#18608\u003c/li\u003e\u003cli\u003epython/cpython#18613\u003c/li\u003e\u003cli\u003epython/cpython#19012\u003c/li\u003e\u003cli\u003epython/cpython#19015\u003c/li\u003e\u003cli\u003epython/cpython#19018\u003c/li\u003e\u003cli\u003epython/cpython#19022\u003c/li\u003e\u003cli\u003epython/cpython#19021\u003c/li\u003e\u003cli\u003epython/cpython#19044\u003c/li\u003e\u003cli\u003epython/cpython#19057\u003c/li\u003e\u003cli\u003epython/cpython#19069\u003c/li\u003e\u003cli\u003epython/cpython#19071\u003c/li\u003e\u003cli\u003epython/cpython#19074\u003c/li\u003e\u003cli\u003epython/cpython#19084\u003c/li\u003e\u003cli\u003epython/cpython#19100\u003c/li\u003e\u003cli\u003epython/cpython#19107\u003c/li\u003e\u003cli\u003epython/cpython#19122\u003c/li\u003e\u003cli\u003epython/cpython#19128\u003c/li\u003e\u003cli\u003epython/cpython#19135\u003c/li\u003e\u003cli\u003epython/cpython#19140\u003c/li\u003e\u003cli\u003epython/cpython#19150\u003c/li\u003e\u003cli\u003epython/cpython#19151\u003c/li\u003e\u003cli\u003epython/cpython#19242\u003c/li\u003e\u003cli\u003epython/cpython#19243\u003c/li\u003e\u003cli\u003epython/cpython#19252\u003c/li\u003e\u003cli\u003epython/cpython#19307\u003c/li\u003e\u003cli\u003epython/cpython#19382\u003c/li\u003e\u003cli\u003epython/cpython#19459\u003c/li\u003e\u003cli\u003epython/cpython#19798\u003c/li\u003e\u003cli\u003epython/cpython#19822\u003c/li\u003e\u003cli\u003epython/cpython#19907\u003c/li\u003e\u003cli\u003epython/cpython#19923\u003c/li\u003e\u003cli\u003epython/cpython#20540\u003c/li\u003e\u003cli\u003epython/cpython#20763\u003c/li\u003e\u003cli\u003epython/cpython#20808\u003c/li\u003e\u003cli\u003epython/cpython#20848\u003c/li\u003e\u003cli\u003epython/cpython#20920\u003c/li\u003e\u003cli\u003epython/cpython#21087\u003c/li\u003e\u003cli\u003epython/cpython#21168\u003c/li\u003e\u003cli\u003epython/cpython#21189\u003c/li\u003e\u003cli\u003epython/cpython#21269\u003c/li\u003e\u003cli\u003epython/cpython#21270\u003c/li\u003e\u003cli\u003epython/cpython#21294\u003c/li\u003e\u003cli\u003epython/cpython#21319\u003c/li\u003e\u003cli\u003epython/cpython#21371\u003c/li\u003e\u003cli\u003epython/cpython#21375\u003c/li\u003e\u003cli\u003epython/cpython#21378\u003c/li\u003e\u003cli\u003epython/cpython#21418\u003c/li\u003e\u003cli\u003epython/cpython#21605\u003c/li\u003e\u003cli\u003epython/cpython#21818\u003c/li\u003e\u003cli\u003epython/cpython#21855\u003c/li\u003e\u003cli\u003epython/cpython#21856\u003c/li\u003e\u003cli\u003epython/cpython#21896\u003c/li\u003e\u003cli\u003epython/cpython#21902\u003c/li\u003e\u003cli\u003epython/cpython#21985\u003c/li\u003e\u003cli\u003epython/cpython#21986\u003c/li\u003e\u003cli\u003epython/cpython#21995\u003c/li\u003e\u003cli\u003epython/cpython#22003\u003c/li\u003e\u003cli\u003epython/cpython#22049\u003c/li\u003e\u003cli\u003epython/cpython#22050\u003c/li\u003e\u003cli\u003epython/cpython#22051\u003c/li\u003e\u003cli\u003epython/cpython#22131\u003c/li\u003e\u003cli\u003epython/cpython#22134\u003c/li\u003e\u003cli\u003epython/cpython#22139\u003c/li\u003e\u003cli\u003epython/cpython#22145\u003c/li\u003e\u003cli\u003epython/cpython#22148\u003c/li\u003e\u003cli\u003epython/cpython#22149\u003c/li\u003e\u003cli\u003epython/cpython#22164\u003c/li\u003e\u003cli\u003epython/cpython#22165\u003c/li\u003e\u003cli\u003epython/cpython#22220\u003c/li\u003e\u003cli\u003epython/cpython#22222\u003c/li\u003e\u003cli\u003epython/cpython#22240\u003c/li\u003e\u003cli\u003epython/cpython#22242\u003c/li\u003e\u003cli\u003epython/cpython#22328\u003c/li\u003e\u003cli\u003epython/cpython#22415\u003c/li\u003e\u003cli\u003epython/cpython#22478\u003c/li\u003e\u003cli\u003epython/cpython#22489\u003c/li\u003e\u003cli\u003epython/cpython#22490\u003c/li\u003e\u003cli\u003epython/cpython#22712\u003c/li\u003e\u003cli\u003epython/cpython#22713\u003c/li\u003e\u003cli\u003epython/cpython#22838\u003c/li\u003e\u003cli\u003epython/cpython#22880\u003c/li\u003e\u003cli\u003epython/cpython#23091\u003c/li\u003e\u003cli\u003epython/cpython#23122\u003c/li\u003e\u003cli\u003epython/cpython#23146\u003c/li\u003e\u003cli\u003epython/cpython#23147\u003c/li\u003e\u003cli\u003epython/cpython#23148\u003c/li\u003e\u003cli\u003epython/cpython#23151\u003c/li\u003e\u003cli\u003epython/cpython#23170\u003c/li\u003e\u003cli\u003epython/cpython#23139\u003c/li\u003e\u003cli\u003epython/cpython#23188\u003c/li\u003e\u003cli\u003epython/cpython#23234\u003c/li\u003e\u003cli\u003epython/cpython#23236\u003c/li\u003e\u003cli\u003epython/cpython#23304\u003c/li\u003e\u003cli\u003epython/cpython#23358\u003c/li\u003e\u003cli\u003epython/cpython#23359\u003c/li\u003e\u003cli\u003epython/cpython#23360\u003c/li\u003e\u003cli\u003epython/cpython#23361\u003c/li\u003e\u003cli\u003epython/cpython#23376\u003c/li\u003e\u003cli\u003epython/cpython#23377\u003c/li\u003e\u003cli\u003epython/cpython#23378\u003c/li\u003e\u003cli\u003epython/cpython#23379\u003c/li\u003e\u003cli\u003epython/cpython#23381\u003c/li\u003e\u003cli\u003epython/cpython#23390\u003c/li\u003e\u003cli\u003epython/cpython#23393\u003c/li\u003e\u003cli\u003epython/cpython#23398\u003c/li\u003e\u003cli\u003epython/cpython#23401\u003c/li\u003e\u003cli\u003epython/cpython#23402\u003c/li\u003e\u003cli\u003epython/cpython#23404\u003c/li\u003e\u003cli\u003epython/cpython#23406\u003c/li\u003e\u003cli\u003epython/cpython#23409\u003c/li\u003e\u003cli\u003epython/cpython#23462\u003c/li\u003e\u003cli\u003epython/cpython#23443\u003c/li\u003e\u003cli\u003epython/cpython#23443\u003c/li\u003e\u003cli\u003epython/cpython#23535\u003c/li\u003e\u003cli\u003epython/cpython#23598\u003c/li\u003e\u003cli\u003epython/cpython#23793\u003c/li\u003e\u003cli\u003epython/cpython#23811\u003c/li\u003e\u003cli\u003epython/cpython#23972\u003c/li\u003e\u003cli\u003epython/cpython#24095\u003c/li\u003e\u003cli\u003epython/cpython#24175\u003c/li\u003e\u003cli\u003epython/cpython#24205\u003c/li\u003e\u003cli\u003epython/cpython#30522\u003c/li\u003e\u003cli\u003epython/cpython#30525\u003c/li\u003e\u003cli\u003epython/cpython#30744\u003c/li\u003e\u003cli\u003epython/cpython#31555\u003c/li\u003e\u003cli\u003epython/cpython#31560\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2022-01-27.13:42:43.202\u003e\ncreated_at = \u003cDate 2007-01-15.10:26:05.000\u003e\nlabels = ['expert-subinterpreters', 'interpreter-core', '3.11', 'performance']\ntitle = \"Py_Finalize() doesn't clear all Python objects at exit\"\nupdated_at = \u003cDate 2022-02-25.11:34:18.230\u003e\nuser = 'https://bugs.python.org/kylotan'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2022-02-25.11:34:18.230\u003e\nactor = 'vstinner'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2022-01-27.13:42:43.202\u003e\ncloser = 'vstinner'\ncomponents = ['Interpreter Core', 'Subinterpreters']\ncreation = \u003cDate 2007-01-15.10:26:05.000\u003e\ncreator = 'kylotan'\ndependencies = []\nfiles = []\nhgrepos = []\nissue_num = 1635741\nkeywords = ['patch']\nmessage_count = 185.0\nmessages = ['61054', '110895', '111024', '130729', '248761', '355187', '355189', '355191', '355193', '355194', '355201', '359342', '359482', '359830', '360063', '361427', '361428', '361466', '361798', '362068', '362124', '362143', '362144', '362195', '363935', '363936', '363937', '363940', '363941', '364234', '364330', '364379', '364463', '364521', '364609', '364656', '364833', '364836', '364845', '364871', '364883', '364906', '364909', '364951', '364952', '364968', '364971', '364972', '364973', '364975', '364987', '365008', '365017', '365043', '365386', '365388', '365484', '365584', '365611', '367686', '367796', '368096', '368318', '370561', '370763', '371119', '371569', '371683', '372061', '372077', '372096', '372102', '372103', '372797', '372912', '372938', '372942', '375169', '375272', '375286', '375287', '375288', '375290', '375311', '375567', '376218', '376221', '376240', '376288', '376360', '376461', '376474', '376477', '376480', '376493', '376500', '376552', '376554', '376555', '376556', '376566', '376567', '376571', '376572', '376616', '376687', '376993', '377253', '377364', '377365', '377523', '378115', '378685', '379280', '379287', '379667', '380216', '380270', '380280', '380317', '380318', '380331', '380332', '380340', '380346', '380351', '380733', '380758', '380854', '380857', '381124', '381300', '381317', '381318', '381351', '381352', '381376', '381379', '381391', '381392', '381395', '381396', '381400', '381411', '381423', '381426', '381431', '381432', '381434', '381476', '381477', '381571', '381572', '383155', '383168', '383276', '383283', '383285', '383287', '383454', '383636', '383785', '383799', '383801', '383844', '383847', '383880', '384039', '384042', '384326', '384352', '384646', '384978', '384987', '385010', '388728', '410809', '411116', '411278', '411311', '411872', '411961', '411997', '413938', '413979']\nnosy_count = 26.0\nnosy_names = ['amaury.forgeotdarc', 'orsenthil', 'kylotan', 'vstinner', 'christian.heimes', 'tlesher', 'phsilva', 'petr.viktorin', 'ysj.ray', 'santoso.wijaya', 'lukasz.langa', 'python-dev', 'eric.snow', 'serhiy.storchaka', 'pconnell', 'isoschiz', 'Jim Fasarakis-Hilliard', 'corona10', 'miss-islington', 'shihai1991', 'erlendaasland', 'koubaa', 'h-vetinari', 'TCsaba', 'kumaraditya', 'CharlieZhao']\npr_nums = ['17835', '17883', '18030', '18032', '18049', '18050', '18065', '18066', '18358', '18365', '18374', '18404', '18486', '18608', '18613', '19012', '19015', '19018', '19022', '19021', '19044', '19057', '19069', '19071', '19074', '19084', '19100', '19107', '19122', '19128', '19135', '19140', '19150', '19151', '19242', '19243', '19252', '19307', '19382', '19459', '19798', '19822', '19907', '19923', '20540', '20763', '20808', '20848', '20920', '21087', '21168', '21189', '21269', '21270', '21294', '21319', '21371', '21375', '21378', '21418', '21605', '21818', '21855', '21856', '21896', '21902', '21985', '21986', '21995', '22003', '22049', '22050', '22051', '22131', '22134', '22139', '22145', '22148', '22149', '22164', '22165', '22220', '22222', '22240', '22242', '22328', '22415', '22478', '22489', '22490', '22712', '22713', '22838', '22880', '23091', '23122', '23146', '23147', '23148', '23151', '23170', '23139', '23188', '23234', '23236', '23304', '23358', '23359', '23360', '23361', '23376', '23377', '23378', '23379', '23381', '23390', '23393', '23398', '23401', '23402', '23404', '23406', '23409', '23462', '23443', '23443', '23535', '23598', '23793', '23811', '23972', '24095', '24175', '24205', '30522', '30525', '30744', '31555', '31560']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'resource usage'\nurl = 'https://bugs.python.org/issue1635741'\nversions = ['Python 3.11']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/kylotan","@type":"Person","name":"kylotan"},"datePublished":"2007-01-15T10:26:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":188},"url":"https://github.com/44470/cpython/issues/44470"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3a29bd5a-cbc2-a158-10b4-7218a8f9262b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D702:15DFF5:2572CF6:330EA0D:696AD5CB |
| html-safe-nonce | eb27ff062bf7306b6e0482d31da9d7110a7826f4bea1d188dc6abd2a628d2f2b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzAyOjE1REZGNToyNTcyQ0Y2OjMzMEVBMEQ6Njk2QUQ1Q0IiLCJ2aXNpdG9yX2lkIjoiMzI3NTM2MDg2OTM1OTk5ODQxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c61e20922f5dd21af9680d4b9d2fafc685dd722d4dd9f30825a3ca43c1f75a58 |
| hovercard-subject-tag | issue:1198820210 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/44470/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b421dd744be79b37f0ab5b0f021cbf3eda2e4e806b4920c61f70bda68fe2383c/python/cpython/issues/44470 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b421dd744be79b37f0ab5b0f021cbf3eda2e4e806b4920c61f70bda68fe2383c/python/cpython/issues/44470 |
| og:image:alt | BPO 1635741 Nosy @amauryfa, @orsenthil, @vstinner, @tiran, @phsilva, @encukou, @ambv, @ericsnowcurrently, @serhiy-storchaka, @phmc, @DimitrisJim, @corona10, @miss-islington, @shihai1991, @erlend-aa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kylotan |
| hostname | github.com |
| expected-hostname | github.com |
| None | c785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c718a376fcf780eb22089171adb84a543f660bf7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width