| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:dd22018c-d611-3d5a-8468-e284df3ffc16 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C998:24645:10638BE:15A6B0D:6B01DDE6 |
| html-safe-nonce | 39a412c8bf36d05cfb862b85b9e95bd085ff69a8b777ce6c951e9fa6923e0cf2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTk4OjI0NjQ1OjEwNjM4QkU6MTVBNkIwRDo2QjAxRERFNiIsInZpc2l0b3JfaWQiOiIyODI2OTU1MzQ0NDAyNTcwNzI2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b8d78de9c37b4ac63f3d484777131b9ed361f921f331cf30ed38be969ba78577 |
| hovercard-subject-tag | pull_request:4894267557 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/9168/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/968d8e858e460b08c506a33dec3e2f1629a94b58a8e9534ad16bd259fb3fd5b7/RustPython/RustPython/pull/9168 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/968d8e858e460b08c506a33dec3e2f1629a94b58a8e9534ad16bd259fb3fd5b7/RustPython/RustPython/pull/9168 |
| og:image:alt | Align weak-reference collection with Python 3.15 finalization
Summary
Extract the weakref/finalizer lifecycle work from #8954 onto main's existing collector.
Follow CPython free-threading: ret... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | youknowdot |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/RustPython/RustPython/pull/9168#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9168 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9168 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=RustPython%2FRustPython |
| Reload | https://github.com/RustPython/RustPython/pull/9168 |
| Reload | https://github.com/RustPython/RustPython/pull/9168 |
| Reload | https://github.com/RustPython/RustPython/pull/9168 |
| RustPython | https://github.com/RustPython |
| RustPython | https://github.com/RustPython/RustPython |
| Code | https://github.com/RustPython/RustPython |
| Issues195 (195) | https://github.com/RustPython/RustPython/issues |
| Pull requests133 (133) | https://github.com/RustPython/RustPython/pulls |
| Discussions | https://github.com/RustPython/RustPython/discussions |
| Actions | https://github.com/RustPython/RustPython/actions |
| Projects | https://github.com/RustPython/RustPython/projects |
| Wiki | https://github.com/RustPython/RustPython/wiki |
| Security and quality | https://github.com/RustPython/RustPython/security |
| Insights | https://github.com/RustPython/RustPython/insights |
| https://github.com/RustPython/RustPython |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| youknowdot:fix/weakref-gc-lifecycle | https://github.com/youknowdot/RustPython/tree/fix/weakref-gc-lifecycle |
| Conversation | https://github.com/RustPython/RustPython/pull/9168 |
| Commits5 (5) | https://github.com/RustPython/RustPython/pull/9168/commits |
| Checks | https://github.com/RustPython/RustPython/pull/9168/checks |
| Files changed | https://github.com/RustPython/RustPython/pull/9168/files |
| Align weak-reference collection with Python 3.15 finalization | https://github.com/RustPython/RustPython/pull/9168#top |
| youknowone | https://github.com/youknowone |
| RustPython:main | https://github.com/RustPython/RustPython/tree/main |
| youknowdot:fix/weakref-gc-lifecycle | https://github.com/youknowdot/RustPython/tree/fix/weakref-gc-lifecycle |
|
| https://github.com/youknowdot |
| youknowdot | https://github.com/youknowdot |
| Oct 16, 2026 | https://github.com/RustPython/RustPython/pull/9168#issue-5891184859 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| #8954 | https://github.com/RustPython/RustPython/pull/8954 |
| CPython 3.15.0 d220409 | https://github.com/python/cpython/tree/d220409a13b77de7a6c30abe16ea90db01528edc |
| Python/gc.c | https://github.com/python/cpython/blob/d220409a13b77de7a6c30abe16ea90db01528edc/Python/gc.c#L805-L1001 |
| Objects/weakrefobject.c | https://github.com/python/cpython/blob/d220409a13b77de7a6c30abe16ea90db01528edc/Objects/weakrefobject.c#L121-L167 |
| 9a16d28 | https://github.com/RustPython/RustPython/commit/9a16d2841d782f90bb2c3dcf24d73c79f2daa27b |
| #8966 | https://github.com/RustPython/RustPython/pull/8966 |
| #8939 | https://github.com/RustPython/RustPython/pull/8939 |
| #8944 | https://github.com/RustPython/RustPython/pull/8944 |
| #9094 | https://github.com/RustPython/RustPython/pull/9094 |
| CPython's free-threading design | https://github.com/python/cpython/blob/d220409a13b77de7a6c30abe16ea90db01528edc/Objects/weakrefobject.c#L10-L33 |
| retains its lock pointer after the referent is cleared | https://github.com/python/cpython/blob/d220409a13b77de7a6c30abe16ea90db01528edc/Include/cpython/weakrefobject.h#L34-L39 |
| f8a8d643a7 | https://github.com/youknowdot/RustPython/commit/f8a8d643a7682d613d5fa9d804d71581191263a6 |
| CI run 39008837863 | https://github.com/RustPython/RustPython/actions/runs/39008837863 |
| Ubuntu | https://github.com/RustPython/RustPython/actions/runs/39008837863/job/117326783088 |
| macOS | https://github.com/RustPython/RustPython/actions/runs/39008837863/job/117326783084 |
| Windows | https://github.com/RustPython/RustPython/actions/runs/39008837863/job/117326783128 |
| CI run 38971792428 | https://github.com/RustPython/RustPython/actions/runs/38971792428 |
| Ubuntu | https://github.com/RustPython/RustPython/actions/runs/38971792428/job/117212183776 |
| macOS | https://github.com/RustPython/RustPython/actions/runs/38971792428/job/117212183852 |
| Windows | https://github.com/RustPython/RustPython/actions/runs/38971792428/job/117212183809 |
| 51e0ffe | https://github.com/RustPython/RustPython/commit/51e0ffe296fa86448e411725cafd082a42b8a331 |
| 51e0ffe | https://github.com/RustPython/RustPython/commit/51e0ffe296fa86448e411725cafd082a42b8a331 |
| CI run 39014010518 | https://github.com/RustPython/RustPython/actions/runs/39014010518 |
| 9a16d28 | https://github.com/RustPython/RustPython/commit/9a16d2841d782f90bb2c3dcf24d73c79f2daa27b |
| a3b5ff1 | https://github.com/RustPython/RustPython/commit/a3b5ff157ba270ef9c896c04cd9009b9360a9f12 |
| fc9f4a9 | https://github.com/RustPython/RustPython/commit/fc9f4a95416bf7ffcc43747c256c2c4a35f996d9 |
| 51e0ffe | https://github.com/RustPython/RustPython/commit/51e0ffe296fa86448e411725cafd082a42b8a331 |
| f8a8d64 | https://github.com/RustPython/RustPython/commit/f8a8d643a7682d613d5fa9d804d71581191263a6 |
| PyMutex *weakrefs_lock | https://github.com/python/cpython/blob/d220409a13b77de7a6c30abe16ea90db01528edc/Include/cpython/weakrefobject.h#L34-L39 |
| initializes it from the referent's stripe | https://github.com/python/cpython/blob/d220409a13b77de7a6c30abe16ea90db01528edc/Objects/weakrefobject.c#L61-L74 |
| uses it after referent clearing | https://github.com/python/cpython/blob/d220409a13b77de7a6c30abe16ea90db01528edc/Objects/weakrefobject.c#L105-L117 |
| CI run 39037908394 | https://github.com/RustPython/RustPython/actions/runs/39037908394 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
|
| https://github.com/youknowdot |
| Align weak-reference collection with Python 3.15 finalization | https://github.com/RustPython/RustPython/pull/9168/commits/1df14b35284aab5b2b91ee203c9e57b61c3d2bf8 |
| 1df14b3 | https://github.com/RustPython/RustPython/pull/9168/commits/1df14b35284aab5b2b91ee203c9e57b61c3d2bf8 |
| https://github.com/apps/coderabbitai |
| coderabbitai | https://github.com/apps/coderabbitai |
| Oct 16, 2026 | https://github.com/RustPython/RustPython/pull/9168#issuecomment-6224684302 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| https://app.coderabbit.ai/change-stack/RustPython/RustPython/pull/9168?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&cs_source=review_comment |
| 51e0ffe | https://github.com/RustPython/RustPython/commit/51e0ffe296fa86448e411725cafd082a42b8a331 |
| 5cbebf4 | https://github.com/RustPython/RustPython/commit/5cbebf40c018a8ff8d694f44df124eea83f4b28f |
| https://camo.githubusercontent.com/8f159bbb8848bd140c752331ef9b58f49be054035a4d90b12ab90a8478776bde/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7761726e696e672e737667 |
| https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667 |
| https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667 |
| https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667 |
| https://camo.githubusercontent.com/52c6b786492f6f8748feb782ecaf3a1d3152ec095001b1a26170cc7cbe533212/68747470733a2f2f73746f726167652e676f6f676c65617069732e636f6d2f636f64657261626269745f7075626c69635f6173736574732f7072652d6d657267652d636865636b732d7061737365642e737667 |
| CodeRabbit | https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=9168 |
| X | https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai |
| Mastodon | https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai |
| Reddit | https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai |
| LinkedIn | https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Oct 16, 2026 | https://github.com/RustPython/RustPython/pull/9168#issuecomment-6224695691 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
|
| https://github.com/youknowdot |
| Refresh canonical IO tests for weakref finalization | https://github.com/RustPython/RustPython/pull/9168/commits/429c7718e703b139fadc1b12f417c6bb9d76f351 |
| 429c771 | https://github.com/RustPython/RustPython/pull/9168/commits/429c7718e703b139fadc1b12f417c6bb9d76f351 |
| https://github.com/apps/codspeed |
| codspeed | https://github.com/apps/codspeed |
| Oct 16, 2026 | https://github.com/RustPython/RustPython/pull/9168#issuecomment-6225736180 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| 1 | https://github.com/RustPython/RustPython/pull/9168#user-content-fn-skipped-7a95e49f1b9642b7bfbdf14b3615ca14 |
| 5cbebf4 | https://github.com/RustPython/RustPython/commit/5cbebf40c018a8ff8d694f44df124eea83f4b28f |
| fc9f4a9 | https://github.com/RustPython/RustPython/commit/fc9f4a95416bf7ffcc43747c256c2c4a35f996d9 |
|
| https://app.codspeed.io/RustPython/RustPython/branches/youknowdot%3Afix%2Fweakref-gc-lifecycle?utm_source=github&utm_medium=comment-v2&utm_content=button |
| click here and archive them to remove them from the performance reports | https://app.codspeed.io/RustPython/RustPython/branches/youknowdot%3Afix%2Fweakref-gc-lifecycle?q=is%3Askipped&utm_source=github&utm_medium=comment-v2&utm_content=archive |
| ↩ | https://github.com/RustPython/RustPython/pull/9168#user-content-fnref-skipped-7a95e49f1b9642b7bfbdf14b3615ca14 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| October 17, 2026 02:35 | https://github.com/RustPython/RustPython/pull/9168#event-33498667264 |
| https://github.com/apps/chatgpt-codex-connector |
| chatgpt-codex-connector | https://github.com/apps/chatgpt-codex-connector |
| Oct 17, 2026 | https://github.com/RustPython/RustPython/pull/9168#issuecomment-6228577953 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| Your team has set up Codex to review pull requests in this repo | https://chatgpt.com/codex/cloud/settings/general |
| @codex | https://github.com/codex |
| @codex | https://github.com/codex |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
|
Oct 17, 2026
| https://github.com/RustPython/RustPython/pull/9168#pullrequestreview-5556474609 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/9168/files/429c7718e703b139fadc1b12f417c6bb9d76f351 |
| crates/vm/src/object/core.rs | https://github.com/RustPython/RustPython/pull/9168/files/429c7718e703b139fadc1b12f417c6bb9d76f351#diff-29e5bc70b379859cc90757773e821848e53dff65ce99167408b6f547bc317196 |
| youknowone | https://github.com/youknowone |
| Oct 17, 2026 | https://github.com/RustPython/RustPython/pull/9168#discussion_r4301594963 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| youknowdot | https://github.com/youknowdot |
| Oct 17, 2026 | https://github.com/RustPython/RustPython/pull/9168#discussion_r4301682157 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| f8a8d64 | https://github.com/RustPython/RustPython/commit/f8a8d643a7682d613d5fa9d804d71581191263a6 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
|
| https://github.com/youknowdot |
| Protect weakref callbacks with the original referent stripe | https://github.com/RustPython/RustPython/pull/9168/commits/f8a8d643a7682d613d5fa9d804d71581191263a6 |
| f8a8d64 | https://github.com/RustPython/RustPython/pull/9168/commits/f8a8d643a7682d613d5fa9d804d71581191263a6 |
| https://github.com/apps/chatgpt-codex-connector |
| chatgpt-codex-connector | https://github.com/apps/chatgpt-codex-connector |
|
Oct 17, 2026
| https://github.com/RustPython/RustPython/pull/9168#pullrequestreview-5556614419 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/9168/files/f8a8d643a7682d613d5fa9d804d71581191263a6 |
| chatgpt-codex-connector | https://github.com/apps/chatgpt-codex-connector |
| https://github.com/RustPython/RustPython/pull/9168#pullrequestreview-5556614419 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @codex | https://github.com/codex |
| sign up for Codex through ChatGPT | https://openai.com/codex |
| @codex | https://github.com/codex |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| crates/vm/src/object/core.rs | https://github.com/RustPython/RustPython/pull/9168/files/f8a8d643a7682d613d5fa9d804d71581191263a6#diff-29e5bc70b379859cc90757773e821848e53dff65ce99167408b6f547bc317196 |
| chatgpt-codex-connector | https://github.com/apps/chatgpt-codex-connector |
| Oct 17, 2026 | https://github.com/RustPython/RustPython/pull/9168#discussion_r4301711186 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://camo.githubusercontent.com/0854bfc38139c0d2b58a9d5d71f5ad92840cf0c17144621e462b474041793354/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50322d79656c6c6f773f7374796c653d666c6174 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| youknowdot | https://github.com/youknowdot |
| Oct 17, 2026 | https://github.com/RustPython/RustPython/pull/9168#discussion_r4301907765 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 51e0ffe | https://github.com/RustPython/RustPython/commit/51e0ffe296fa86448e411725cafd082a42b8a331 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
|
| https://github.com/youknowdot |
| Defer weakref GC tracking until referent publication | https://github.com/RustPython/RustPython/pull/9168/commits/51e0ffe296fa86448e411725cafd082a42b8a331 |
| 51e0ffe | https://github.com/RustPython/RustPython/pull/9168/commits/51e0ffe296fa86448e411725cafd082a42b8a331 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
|
Oct 17, 2026
| https://github.com/RustPython/RustPython/pull/9168#pullrequestreview-5557738652 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/9168/files/51e0ffe296fa86448e411725cafd082a42b8a331 |
| crates/vm/src/object/core.rs | https://github.com/RustPython/RustPython/pull/9168/files/51e0ffe296fa86448e411725cafd082a42b8a331#diff-29e5bc70b379859cc90757773e821848e53dff65ce99167408b6f547bc317196 |
| youknowone | https://github.com/youknowone |
| Oct 17, 2026 | https://github.com/RustPython/RustPython/pull/9168#discussion_r4302640472 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| youknowdot | https://github.com/youknowdot |
| Oct 17, 2026 | https://github.com/RustPython/RustPython/pull/9168#discussion_r4302651188 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| youknowone | https://github.com/youknowone |
| Oct 17, 2026 | https://github.com/RustPython/RustPython/pull/9168#discussion_r4302798893 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| youknowdot | https://github.com/youknowdot |
| Oct 17, 2026 | https://github.com/RustPython/RustPython/pull/9168#discussion_r4302809804 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| PyMutex *weakrefs_lock | https://github.com/python/cpython/blob/d220409a13b77de7a6c30abe16ea90db01528edc/Include/cpython/weakrefobject.h#L34-L39 |
| &WEAKREF_LIST_LOCK(ob) | https://github.com/python/cpython/blob/d220409a13b77de7a6c30abe16ea90db01528edc/Objects/weakrefobject.c#L61-L74 |
| Clearing uses that saved lock after wr_object becomes Py_None | https://github.com/python/cpython/blob/d220409a13b77de7a6c30abe16ea90db01528edc/Objects/weakrefobject.c#L105-L117 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| youknowdot | https://github.com/youknowdot |
| Oct 17, 2026 | https://github.com/RustPython/RustPython/pull/9168#discussion_r4302878107 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 5cbebf4 | https://github.com/RustPython/RustPython/commit/5cbebf40c018a8ff8d694f44df124eea83f4b28f |
| CI run 39037908394 | https://github.com/RustPython/RustPython/actions/runs/39037908394 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
|
| https://github.com/youknowdot |
| Retain the original weakref stripe lock like CPython | https://github.com/RustPython/RustPython/pull/9168/commits/5cbebf40c018a8ff8d694f44df124eea83f4b28f |
| 5cbebf4 | https://github.com/RustPython/RustPython/pull/9168/commits/5cbebf40c018a8ff8d694f44df124eea83f4b28f |
| https://github.com/apps/chatgpt-codex-connector |
| chatgpt-codex-connector | https://github.com/apps/chatgpt-codex-connector |
|
Oct 17, 2026
| https://github.com/RustPython/RustPython/pull/9168#pullrequestreview-5558079921 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/9168/files/5cbebf40c018a8ff8d694f44df124eea83f4b28f |
| chatgpt-codex-connector | https://github.com/apps/chatgpt-codex-connector |
| https://github.com/RustPython/RustPython/pull/9168#pullrequestreview-5558079921 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @codex | https://github.com/codex |
| sign up for Codex through ChatGPT | https://openai.com/codex |
| @codex | https://github.com/codex |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| Lib/test/test_finalization.py | https://github.com/RustPython/RustPython/pull/9168/files/5cbebf40c018a8ff8d694f44df124eea83f4b28f#diff-d9941a84f6bcc0f387de2e0c633aec07e316f33d081f7f736933970398ad11fa |
| chatgpt-codex-connector | https://github.com/apps/chatgpt-codex-connector |
| Oct 17, 2026 | https://github.com/RustPython/RustPython/pull/9168#discussion_r4302911058 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://camo.githubusercontent.com/a08bbb8a949f7033433a88444eeae385ff6a5e599d92f878fb05fa85707b7816/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50312d6f72616e67653f7374796c653d666c6174 |
| AGENTS.md:L278-L282 | https://github.com/RustPython/RustPython/blob/5cbebf40c018a8ff8d694f44df124eea83f4b28f/AGENTS.md#L278-L282 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| youknowdot | https://github.com/youknowdot |
| Oct 17, 2026 | https://github.com/RustPython/RustPython/pull/9168#discussion_r4302934466 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| 1df14b3 | https://github.com/RustPython/RustPython/commit/1df14b35284aab5b2b91ee203c9e57b61c3d2bf8 |
| https://github.com/python/cpython/blob/d220409a13b77de7a6c30abe16ea90db01528edc/Lib/test/test_finalization.py#L273-L296 | https://github.com/python/cpython/blob/d220409a13b77de7a6c30abe16ea90db01528edc/Lib/test/test_finalization.py#L273-L296 |
| 5cbebf4 | https://github.com/RustPython/RustPython/commit/5cbebf40c018a8ff8d694f44df124eea83f4b28f |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
|
Oct 17, 2026
| https://github.com/RustPython/RustPython/pull/9168#pullrequestreview-5558333093 |
|
View reviewed changes
| https://github.com/RustPython/RustPython/pull/9168/files/5cbebf40c018a8ff8d694f44df124eea83f4b28f |
| https://github.com/youknowone |
| youknowone | https://github.com/youknowone |
| 7d15b50 | https://github.com/RustPython/RustPython/commit/7d15b50cd4526104ce47b0d8fe2bc45bfd0dbe1e |
| Oct 17, 2026 | https://github.com/RustPython/RustPython/pull/9168#event-33524821691 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| https://github.com/youknowdot |
| youknowdot | https://github.com/youknowdot |
|
Nov 15, 2026
| https://github.com/RustPython/RustPython/pull/9168#ref-pullrequest-6400699301 |
|
Restore six skipped weakref concurrency regressions
#9846
| https://github.com/RustPython/RustPython/pull/9846 |
| https://github.co/hiddenchars |
| https://github.com/RustPython/RustPython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9168 |
|
| https://github.com/apps/chatgpt-codex-connector |
|
chatgpt-codex-connector[bot]
| https://github.com/apps/chatgpt-codex-connector |
|
| https://github.com/RustPython/RustPython/pull/9168/files/5cbebf40c018a8ff8d694f44df124eea83f4b28f |
|
| https://github.com/youknowone |
|
youknowone
| https://github.com/youknowone |
|
| https://github.com/RustPython/RustPython/pull/9168/files/5cbebf40c018a8ff8d694f44df124eea83f4b28f |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
| Please reload this page | https://github.com/RustPython/RustPython/pull/9168 |
|
| https://github.com/youknowdot |
|
| https://github.com/youknowone |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |