René's URL Explorer Experiment


Title: Align weak-reference collection with Python 3.15 finalization by youknowdot · Pull Request #9168 · RustPython/RustPython · GitHub

Open Graph Title: Align weak-reference collection with Python 3.15 finalization by youknowdot · Pull Request #9168 · RustPython/RustPython

X Title: Align weak-reference collection with Python 3.15 finalization by youknowdot · Pull Request #9168 · RustPython/RustPython

Description: 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: retain a safe handle to the original static stripe after the referent is cleared and protect callback ownership with that existing stripe, without a separate callback lock. Unlink and steal under the stripe, then release callback ownership after unlocking. Trace the owned callback edge without tracing the weak referent. Keep callback ownership after a GC unlink until the weakref is cleared or destroyed. Clear callback-bearing weakrefs before finalizers and avoid invoking callbacks owned by unreachable weakrefs. Keep callback-free weakrefs usable during finalization, recheck resurrection, then close weakref access before clearing payloads. The final liveness check and weakref closure share one stop-the-world phase. Publish intrusive nodes only after insertion and unlink them before publishing a null referent. Run callbacks and release Python owners outside the stripe lock. Refresh weakref.py, test_weakref.py, test_gc.py and test_finalization.py through the repository updater from CPython 3.15.0 d220409. The finalization suite carries the changed 3.15 resurrection expectations and callback-bearing controls. No hand-edited canonical assertions or duplicate snippets. The corresponding canonical sequence is in Python/gc.c and Objects/weakrefobject.c. Review core.rs callback ownership/list operations together with gc_state.rs finalization and resurrection ordering. Scope and related work Base: main 9a16d28. The source batch contains two native lifecycle files, the four related weakref/GC/finalization library files, the complete canonical IO test-package migration, and updater dependency-path metadata/tests. No dependency, heap architecture, embedding API, interpreter isolation, workflow or unrelated teardown changes. Open #8966 also reports the missing callback traversal edge and includes a simpler stripe-protected traversal with unrelated teardown changes. Open #8939 addresses related lifetime issues as part of its much larger collector/embedding redesign; #8944 contains separate interpreter-local visibility work. This extraction uses the existing main architecture and leaves those authors' branches unchanged. The merged #9094 stop-the-world transaction prerequisite is already on the base. Canonical IO test closure Initial hosted Ubuntu and macOS runs exposed a stale PyIOTest.test_garbage_collection: its warning recorder retained WarningMessage.source, keeping the file alive during finalization. The corrected callback-free weakref now properly observes that surviving owner. CPython 3.15's canonical test ignores ResourceWarning without recording it and keeps the collection/content assertions intact. Migrate all twelve Lib/test/test_io/ files from the same pinned CPython source with scripts/update_lib migrate --legacy-map, replacing the seven legacy standalone suites. All ten existing guards are preserved, including five Windows GC skips and inherited expected-failure wrappers. No selected-method backport, assertion edits, forwarding shims, new guards or duplicated tests are introduced. _pyio.py already matches the pinned source. The updater's io and file aliases now point to the complete package, with regression tests for both mappings. Validation for earlier head 429c7718 Matching default release build passed with locked dependencies. Source and executable/dependency hashes were checked before execution and again after all gates. Cargo and Python runs were serialized, with two build jobs and incremental compilation disabled. Whole test_weakref: 138 cases, 13 existing skips, one retained expected failure. Whole test_finalization: 18 cases, five existing skips. Whole test_weakset: 46 cases, all passed. Selected test_gc: 60 cases, 16 existing skips, one retained expected failure; the exact local exclusion is below. All four module runs returned success, without unexpected successes, timeouts or altered-environment results. Workspace native tests: 1,359 passed. Workspace doctests: 24 passed, 18 ignored. These use the documented wasm/venvlauncher/C-API exclusions. Separate crates/capi native tests: 123 passed, four ignored; its doctest gate passed with zero cases. Strict workspace and separate C-API all-target Clippy passed with -D warnings. The nonthreading VM compile check passed with defaults disabled and only compiler enabled. Canonical IO repair: all six selected submodules passed, totaling 911 cases (35 existing skips, four retained expected failures). The focused six-case GC regression also passed. All four lifecycle suites were repeated against the repaired tree with the same successful counts above. No unexpected successes, timeouts or altered-environment results. Updater tooling: all 98 migrate, copy-lib and dependency-mapping tests passed. Four unconditional expected-failure guards were retired through updater metadata only after their unchanged bodies produced fresh unexpected successes; the final-source reruns above passed. Independent source review found no confirmed ownership, unlink-order or stop-the-world blocker in the bounded patch. Local validation did not include Miri or cross-platform execution; hosted results are listed below. No human manual verification is claimed. Normal commit hooks passed without bypasses; the committed tree is clean and matches the tested source bytes. Local test_gc coverage excludes exactly PythonFinalizationTests.test_warnings_fini using the standard test runner. That test creates an asyncio AF_UNIX socketpair, which this execution environment previously denied. Its canonical source is unchanged. A selected local run is not full-module coverage. The exact-head hosted runs below supply full-module GC coverage with the existing guards. Existing crash/race, CPU-resource, CPython-only and missing-C-API guards remain in effect unless fresh evidence explicitly supports a permitted retirement. Local IO verification uses the exact canonical general, bufferedio, textio, memoryio, file and univnewlines submodules. General excludes *IOTest.test_large_file_ops (the >2 GiB sparse-file cases) via the standard runner. Direct submodule selection avoids package-wide discovery. test_fileio is not imported locally because it performs an import-time strace capability probe; test_largefile and test_signals are also left to hosted CI because of their socket, large-file and signal effects. The exact-head hosted runs below supply full-package test_io coverage with the existing guards. Canonical source and guards are unchanged by these local selections. The IO closure changes only tests and updater metadata, so its runtime gates reuse the already sealed default release, which does not freeze the standard library. A separate manifest verifies every native/production/build input is unchanged and binds the repaired test tree and exact executable/ELF hashes without replacing the original build provenance. CPython free-threading correction CPython's free-threading design uses the referent stripe for mutable weakref state and retains its lock pointer after the referent is cleared. This correction follows that design: PyWeak keeps the original address solely as a stripe key, never dereferences it, and uses the same stripe for callback access. The separate callback PyRwLock is removed. Ordinary wr() upgrade is unchanged. RustPython collects callbacks and clears payloads after resuming threads, and gc.get_referents() traverses outside stop-the-world. Those paths therefore retain stripe synchronization rather than copying CPython's lockless stopped-world GC operations. Stripe critical sections neither run Python, release Python references nor suspend; callback drops remain outside the lock. No canonical tests, guards or snippets change in this correction. Revision f8a8d643a7 passed a fresh default release build, both workspace/C-API Clippy gates, 1,359 workspace native tests, 123 C-API tests (four ignored), 24 workspace doctests (18 ignored), C-API doctests and the nonthreading VM compile check. The unchanged canonical suites passed again: weakref 138, finalization 18, weakset 46 and selected GC 60 with the exact pre-existing local exclusion documented above. The six canonical IO garbage-collection cases also passed. Normal commit hooks passed, and source/executable/dependency hashes were reverified. No new guards or test changes. These local gates tested the existing branch based on 9a16d284, not a new merge with current main. All eight required checks and all 25 jobs in CI run 39008837863 passed for head f8a8d643a7682d613d5fa9d804d71581191263a6. The older hosted results below apply only to head 429c7718. The completed Ubuntu, macOS and Windows logs explicitly confirm full test_io, test_gc, test_weakref, test_finalization and test_weakset passes. All three checked out merge 2ed8eaf03a87a01be8456c47281ba929cf671236 of this head into main fc9f4a95416bf7ffcc43747c256c2c4a35f996d9. They used -u all, empty SKIPS and no IO/GC selectors; Windows retains its unrelated launcher-version exclusion. Existing platform/resource/CPython guards still apply. Hosted results for earlier head 429c7718 All eight required checks passed for head 429c7718e703b139fadc1b12f417c6bb9d76f351 in CI run 38971792428: lint, three native-test platforms, three snippets/CPython platforms and WASI. The workflow completed successfully. The completed Ubuntu, macOS and Windows logs explicitly show full test_io, test_gc, test_weakref, test_finalization and test_weakset passing. Each checked out merge 7a2bdb7528da48d3bfbfbc1c741561344a3074f1 of the exact head into base 9a16d284. The runs used -u all, empty SKIPS and no IO/GC selectors; Windows retains its unrelated launcher-version exclusion. Existing platform/resource/CPython guards still apply. AI assistance OpenAI Codex extracted and reviewed the source changes, prepared the canonical migration, and performed the listed checks. The exact model version is unavailable. No human review or manual-use verification is claimed here; this is a draft for maintainer review. Summary by CodeRabbit Bug Fixes Improved weak-reference behavior during garbage collection. Callback-free weak references remain usable while finalizers run, while callback-bearing references are cleared at the appropriate time. References to objects that are resurrected during collection are preserved, preventing weak references from being cleared prematurely when those objects remain alive after collection. Weak-reference updates are also coordinated to avoid exposing partially linked or cleared references. Weakref publication ordering Addressed the follow-up review about GC exposing a half-built weakref. PyWeak now opts out of automatic allocation-time tracking; WeakRefList::add explicitly tracks it only after list insertion, referent publication, and stripe release. Generic reuse losers remain untracked. The constructor’s strong root prevents collection, but the old ordering still allowed gc.get_objects to observe a dead-then-live transition. A native allocator-boundary regression checks real allocation headers across ref/proxy/callable-proxy/subclass payloads and verifies completed constructors are tracked. It runs no Python program. Baseline failure is established from the previous allocator/track_new_object source path, not claimed as an executed baseline repro. Canonical GC-during-ref/proxy-creation tests remain unchanged. CPython free-threaded gc.get_objects stops the world; RustPython’s enumeration does not. Deferred tracking follows RustPython’s existing allocation pattern while preserving the publication invariant, without adding another lock. Implemented in 51e0ffe. Fresh final-source local validation passed: workspace native 1,360; C-API 123 (4 existing ignores); workspace doctests 24 (18 existing ignores); C-API doctests; both Clippy gates with warnings denied; nonthreading VM compilation; canonical test_weakref (138), test_finalization (18), test_weakset (46), selected test_gc (60), and all six existing IO garbage-collection regressions. Existing skips/expected failures and the documented local test_warnings_fini exclusion are unchanged. The new allocator regression also checks GC-list membership directly. One initial test-fixture layout assertion was corrected before these final gates. Hosted verification for 51e0ffe is complete: CI run 39014010518 passed all 25 jobs. The full Ubuntu, macOS and Windows Python jobs each passed test_gc, test_io, test_weakref, test_finalization and test_weakset with all resources and empty SKIPS. Windows retains only its unrelated existing launcher-version exclusion. All additional checks are successful or intentionally skipped. Local tests retain the existing 9a16d28 base. Hosted CI tested merge a3b5ff1, whose parents are current main fc9f4a9 and head 51e0ffe. The PR is mergeable and awaiting review. Earlier hosted results above belong to f8a8d64. CPython lock-handle alignment Revision 5cbebf40c018a8ff8d694f44df124eea83f4b28f follows CPython free-threading more directly: PyWeak.weakrefs_lock retains a safe reference to the selected existing static stripe, rather than saving and rehashing the referent address. CPython likewise stores PyMutex *weakrefs_lock, initializes it from the referent's stripe, and uses it after referent clearing. The nonthreaded handle is zero-sized. Stripe selection, acquire/release ordering, fork reset, deferred GC publication and callback-owner release outside the lock remain unchanged. This adds no new locks or unsafe code. The earlier address-key description above records the previous revision. Fresh final-source validation passed: 1,360 workspace native tests, 123 C-API tests (4 existing ignores), 24 workspace doctests (18 existing ignores), C-API doctests, both Clippy gates with warnings denied, nonthreading VM compilation, canonical weakref (138), finalization (18), weakset (46), selected GC (60), and six canonical IO-GC regressions. Existing guards and the documented local test_warnings_fini exclusion remain unchanged. Normal commit hooks passed. Hosted verification is complete for this head: CI run 39037908394 passed all 25 jobs. Full Ubuntu, macOS and Windows Python logs each confirm test_gc, test_io, test_weakref, test_finalization and test_weakset passed. All 30 reported checks are successful, with one intentional pyperformance skip. Prior hosted results above apply to older revisions.

Open Graph Description: 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...

X Description: 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:...

Opengraph URL: https://github.com/RustPython/RustPython/pull/9168

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1e319787-665d-3d95-f91f-6dfe737e5cc5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9E40:19E4BB:356F4FF:442D61F:6B01E955
html-safe-nonceed6e6c2d74859b8fe4412a51dc746d93a6a7771f43d719ef6e8699a51f021f3f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RTQwOjE5RTRCQjozNTZGNEZGOjQ0MkQ2MUY6NkIwMUU5NTUiLCJ2aXNpdG9yX2lkIjoiMTgxNjU4NjY4MTk3ODA1NDk5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac00f27834afb155f0e35521ca0f236ee566be7439add535518499abbe07c6384a
hovercard-subject-tagpull_request:4894267557
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/9168/files
twitter:imagehttps://avatars.githubusercontent.com/u/336763669?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/336763669?s=400&v=4
og:image:altAlign 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:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/9168/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9168%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9168%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/9168/files
Reloadhttps://github.com/RustPython/RustPython/pull/9168/files
Reloadhttps://github.com/RustPython/RustPython/pull/9168/files
RustPythonhttps://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Codehttps://github.com/RustPython/RustPython
Issues195 (195)https://github.com/RustPython/RustPython/issues
Pull requests133 (133)https://github.com/RustPython/RustPython/pulls
Discussionshttps://github.com/RustPython/RustPython/discussions
Actionshttps://github.com/RustPython/RustPython/actions
Projectshttps://github.com/RustPython/RustPython/projects
Wikihttps://github.com/RustPython/RustPython/wiki
Security and qualityhttps://github.com/RustPython/RustPython/security
Insightshttps://github.com/RustPython/RustPython/insights
Sign up for GitHub https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowdot:fix/weakref-gc-lifecyclehttps://github.com/youknowdot/RustPython/tree/fix/weakref-gc-lifecycle
Conversation 17 https://github.com/RustPython/RustPython/pull/9168
Commits 5 https://github.com/RustPython/RustPython/pull/9168/commits
Checks 30 https://github.com/RustPython/RustPython/pull/9168/checks
Files changed https://github.com/RustPython/RustPython/pull/9168/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9168/files
Align weak-reference collection with Python 3.15 finalization https://github.com/RustPython/RustPython/pull/9168/files#top
Show all changes 5 commits https://github.com/RustPython/RustPython/pull/9168/files
1df14b3 Align weak-reference collection with Python 3.15 finalization youknowdot Oct 16, 2026 https://github.com/RustPython/RustPython/pull/9168/commits/1df14b35284aab5b2b91ee203c9e57b61c3d2bf8
429c771 Refresh canonical IO tests for weakref finalization youknowdot Oct 16, 2026 https://github.com/RustPython/RustPython/pull/9168/commits/429c7718e703b139fadc1b12f417c6bb9d76f351
f8a8d64 Protect weakref callbacks with the original referent stripe youknowdot Oct 17, 2026 https://github.com/RustPython/RustPython/pull/9168/commits/f8a8d643a7682d613d5fa9d804d71581191263a6
51e0ffe Defer weakref GC tracking until referent publication youknowdot Oct 17, 2026 https://github.com/RustPython/RustPython/pull/9168/commits/51e0ffe296fa86448e411725cafd082a42b8a331
5cbebf4 Retain the original weakref stripe lock like CPython youknowdot Oct 17, 2026 https://github.com/RustPython/RustPython/pull/9168/commits/5cbebf40c018a8ff8d694f44df124eea83f4b28f
Clear filters https://github.com/RustPython/RustPython/pull/9168/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9168/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9168/files
test_bufio.py https://github.com/RustPython/RustPython/pull/9168/files#diff-9602496964553fc03cfe6a7be893dc9a845e99e92d7a3097b2fee1378521a2c0
test_finalization.py https://github.com/RustPython/RustPython/pull/9168/files#diff-d9941a84f6bcc0f387de2e0c633aec07e316f33d081f7f736933970398ad11fa
test_gc.py https://github.com/RustPython/RustPython/pull/9168/files#diff-9d9e863bd2a456b669ec9600be793699e861340d91d7c417a8a5b5b8cfbd09a7
test_io.py https://github.com/RustPython/RustPython/pull/9168/files#diff-c6987f6d27855daad275cfbf05fb3684c53fc82ff7146cd157e5838f9ad5f57f
__init__.py https://github.com/RustPython/RustPython/pull/9168/files#diff-f9db737c92d978d11a7e42d476f87740a1997e301e0991dcc51ca41ff805b8ce
__main__.py https://github.com/RustPython/RustPython/pull/9168/files#diff-dfca483e2659049c5cf5d8ebf6b4a1b94f1fd3250789ca46f5fc2eefcd188066
test_bufferedio.py https://github.com/RustPython/RustPython/pull/9168/files#diff-476088eb5a1c740688919c90c1c29143f7ec860a9087c72e87db405836826e0f
test_file.py https://github.com/RustPython/RustPython/pull/9168/files#diff-1cf0841eeae69ba3ec67e9e9222bccfc41fb4ab28ce24407adaea648d8f4ae3e
test_fileio.py https://github.com/RustPython/RustPython/pull/9168/files#diff-40ee6f21d105d5456d9d04a8ca1ecb9d7f09f763781795174756321b5737b90c
test_general.py https://github.com/RustPython/RustPython/pull/9168/files#diff-2614a0b8891148b52f22187445bc9421cf53282bccd5fb90519b1ff8e344d10e
test_largefile.py https://github.com/RustPython/RustPython/pull/9168/files#diff-f1117c626ec83f9946d6baede14618aeac269be085de32f31b836ead4a92c3d3
test_memoryio.py https://github.com/RustPython/RustPython/pull/9168/files#diff-437d27266beabfc02bcd01a41b6d3f9f82c4242087c0be99caad811a6b296776
test_signals.py https://github.com/RustPython/RustPython/pull/9168/files#diff-c032b0aebe468f7551c8ac6e6880360a82e0ddfa8c10af1eb459f850e0613502
test_textio.py https://github.com/RustPython/RustPython/pull/9168/files#diff-871737268f0629fa5bc32f116d3c5f1a37accc05d5505883c9f0f21bf6ac7ee3
test_univnewlines.py https://github.com/RustPython/RustPython/pull/9168/files#diff-8c81358feba09f23208d7aa4892e091fc7aa34a2788ef3e2365e80d9b0b98599
utils.py https://github.com/RustPython/RustPython/pull/9168/files#diff-98e57d82165b2d3890b881661c9f81e7b5949a6aed5f995a414eac5f10093371
test_weakref.py https://github.com/RustPython/RustPython/pull/9168/files#diff-937b32719db22ef614ad443f33d3c274ccc905bb58badd4167d6720e0e45d575
weakref.py https://github.com/RustPython/RustPython/pull/9168/files#diff-46c5889ebd6e1e4bf11502729b4c5ea585b64071d8d08be8331b799d421bfded
weakref.rs https://github.com/RustPython/RustPython/pull/9168/files#diff-020cc7f97369cc44897d6701bf55623beecc2cb6eb62578c59456f17e2e79046
gc_state.rs https://github.com/RustPython/RustPython/pull/9168/files#diff-c57353cf1043101bf94270e6f2f16d54fd87c360dc58d08574149f294135fcae
core.rs https://github.com/RustPython/RustPython/pull/9168/files#diff-29e5bc70b379859cc90757773e821848e53dff65ce99167408b6f547bc317196
deps.py https://github.com/RustPython/RustPython/pull/9168/files#diff-bbb9099426d044c9fbceb4c8ad192003caf7bddd10a51085e2218f3ed4c76416
test_deps.py https://github.com/RustPython/RustPython/pull/9168/files#diff-8e8d14c0f70a90393656e25dc709b107c8eadf51fd1523b8a09753930a5c1749
Lib/test/test_bufio.pyhttps://github.com/RustPython/RustPython/pull/9168/files#diff-9602496964553fc03cfe6a7be893dc9a845e99e92d7a3097b2fee1378521a2c0
View file https://github.com/RustPython/RustPython/blob/9a16d2841d782f90bb2c3dcf24d73c79f2daa27b/Lib/test/test_bufio.py
Open in desktop https://desktop.github.com
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9168/files
Lib/test/test_finalization.pyhttps://github.com/RustPython/RustPython/pull/9168/files#diff-d9941a84f6bcc0f387de2e0c633aec07e316f33d081f7f736933970398ad11fa
View file https://github.com/youknowdot/RustPython/blob/5cbebf40c018a8ff8d694f44df124eea83f4b28f/Lib/test/test_finalization.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9168/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9168/files#diff-d9941a84f6bcc0f387de2e0c633aec07e316f33d081f7f736933970398ad11fa
https://github.com/RustPython/RustPython/pull/9168/files#diff-d9941a84f6bcc0f387de2e0c633aec07e316f33d081f7f736933970398ad11fa
https://github.com/RustPython/RustPython/pull/9168/files#diff-d9941a84f6bcc0f387de2e0c633aec07e316f33d081f7f736933970398ad11fa
https://github.com/RustPython/RustPython/pull/9168/files#diff-d9941a84f6bcc0f387de2e0c633aec07e316f33d081f7f736933970398ad11fa
https://github.com/RustPython/RustPython/pull/9168/files#diff-d9941a84f6bcc0f387de2e0c633aec07e316f33d081f7f736933970398ad11fa
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Oct 17, 2026https://github.com/RustPython/RustPython/pull/9168/files#r4302911058
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/a08bbb8a949f7033433a88444eeae385ff6a5e599d92f878fb05fa85707b7816/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50312d6f72616e67653f7374796c653d666c6174
AGENTS.md:L278-L282https://github.com/RustPython/RustPython/blob/5cbebf40c018a8ff8d694f44df124eea83f4b28f/AGENTS.md#L278-L282
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9168/files
youknowdothttps://github.com/youknowdot
Oct 17, 2026https://github.com/RustPython/RustPython/pull/9168/files#r4302934466
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
1df14b3https://github.com/RustPython/RustPython/commit/1df14b35284aab5b2b91ee203c9e57b61c3d2bf8
https://github.com/python/cpython/blob/d220409a13b77de7a6c30abe16ea90db01528edc/Lib/test/test_finalization.py#L273-L296https://github.com/python/cpython/blob/d220409a13b77de7a6c30abe16ea90db01528edc/Lib/test/test_finalization.py#L273-L296
5cbebf4https://github.com/RustPython/RustPython/commit/5cbebf40c018a8ff8d694f44df124eea83f4b28f
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9168/files
https://github.com/RustPython/RustPython/pull/9168/files#diff-d9941a84f6bcc0f387de2e0c633aec07e316f33d081f7f736933970398ad11fa
https://github.com/RustPython/RustPython/pull/9168/files#diff-d9941a84f6bcc0f387de2e0c633aec07e316f33d081f7f736933970398ad11fa
https://github.com/RustPython/RustPython/pull/9168/files#diff-d9941a84f6bcc0f387de2e0c633aec07e316f33d081f7f736933970398ad11fa
https://github.com/RustPython/RustPython/pull/9168/files#diff-d9941a84f6bcc0f387de2e0c633aec07e316f33d081f7f736933970398ad11fa
https://github.com/RustPython/RustPython/pull/9168/files#diff-d9941a84f6bcc0f387de2e0c633aec07e316f33d081f7f736933970398ad11fa
https://github.com/RustPython/RustPython/pull/9168/files#diff-d9941a84f6bcc0f387de2e0c633aec07e316f33d081f7f736933970398ad11fa
https://github.com/RustPython/RustPython/pull/9168/files#diff-d9941a84f6bcc0f387de2e0c633aec07e316f33d081f7f736933970398ad11fa
https://github.com/RustPython/RustPython/pull/9168/files#diff-d9941a84f6bcc0f387de2e0c633aec07e316f33d081f7f736933970398ad11fa
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9168/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9168/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.