René's URL Explorer Experiment


Title: Thread-safe type operations: type lock, QSBR type-cache reclamation, GC stop-the-world, and interpreter optimizations by youknowone · Pull Request #7416 · RustPython/RustPython · GitHub

Open Graph Title: Thread-safe type operations: type lock, QSBR type-cache reclamation, GC stop-the-world, and interpreter optimizations by youknowone · Pull Request #7416 · RustPython/RustPython

X Title: Thread-safe type operations: type lock, QSBR type-cache reclamation, GC stop-the-world, and interpreter optimizations by youknowone · Pull Request #7416 · RustPython/RustPython

Description: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.

Open Graph Description: Introduce vm.state.type_mutex to serialize type mutation and version-tag assignment, matching CPython's free-threading model. Add with_type_lock() helper and split modified/assign_version_tag ...

X Description: Introduce vm.state.type_mutex to serialize type mutation and version-tag assignment, matching CPython's free-threading model. Add with_type_lock() helper and split modified/assign_version_...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:c8beebe6-233c-e256-25cf-ccf1eacb97f2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9DE8:2BD05C:379024:4A067D:6A5B8869
html-safe-nonce67fd6fd679fae671d7fda92881813a5df9befdcaaf68131cf834da2f13a07db4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5REU4OjJCRDA1QzozNzkwMjQ6NEEwNjdEOjZBNUI4ODY5IiwidmlzaXRvcl9pZCI6IjkxNjQ0MDM3MDg1MDI2OTI4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0deb1fb3ef58563c4858127906de562dc673083a5a5dce1705fb1576218b7b17
hovercard-subject-tagpull_request:3392459839
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/7416/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a3a8fe928ff3cb83c01920a51d3ac10ee1e71713e7913a89aaaf75cd001ae1c4/RustPython/RustPython/pull/7416
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a3a8fe928ff3cb83c01920a51d3ac10ee1e71713e7913a89aaaf75cd001ae1c4/RustPython/RustPython/pull/7416
og:image:altIntroduce vm.state.type_mutex to serialize type mutation and version-tag assignment, matching CPython's free-threading model. Add with_type_lock() helper and split modified/assign_version_tag ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameyouknowone
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/7416#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7416
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7416
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
Reloadhttps://github.com/RustPython/RustPython/pull/7416
Reloadhttps://github.com/RustPython/RustPython/pull/7416
Reloadhttps://github.com/RustPython/RustPython/pull/7416
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
RustPython https://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Notifications https://github.com/login?return_to=%2FRustPython%2FRustPython
Fork 1.5k https://github.com/login?return_to=%2FRustPython%2FRustPython
Star 22.2k https://github.com/login?return_to=%2FRustPython%2FRustPython
Code https://github.com/RustPython/RustPython
Issues 291 https://github.com/RustPython/RustPython/issues
Pull requests 105 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
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality 0 https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
Code https://github.com/RustPython/RustPython
Issues https://github.com/RustPython/RustPython/issues
Pull requests 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
Models https://github.com/RustPython/RustPython/models
Wiki https://github.com/RustPython/RustPython/wiki
Security and quality https://github.com/RustPython/RustPython/security
Insights https://github.com/RustPython/RustPython/pulse
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:typelockhttps://github.com/youknowone/RustPython/tree/typelock
Conversationhttps://github.com/RustPython/RustPython/pull/7416
Commits92 (92)https://github.com/RustPython/RustPython/pull/7416/commits
Checkshttps://github.com/RustPython/RustPython/pull/7416/checks
Files changedhttps://github.com/RustPython/RustPython/pull/7416/files
Thread-safe type operations: type lock, QSBR type-cache reclamation, GC stop-the-world, and interpreter optimizationshttps://github.com/RustPython/RustPython/pull/7416#top
youknowonehttps://github.com/youknowone
RustPython:mainhttps://github.com/RustPython/RustPython/tree/main
youknowone:typelockhttps://github.com/youknowone/RustPython/tree/typelock
https://github.com/youknowone
youknowonehttps://github.com/youknowone
Mar 13, 2026https://github.com/RustPython/RustPython/pull/7416#issue-4067988723
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Mar 13, 2026https://github.com/RustPython/RustPython/pull/7416#issuecomment-4051254509
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
CodeRabbithttps://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=RustPython/RustPython&utm_content=7416
Xhttps://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
Mastodonhttps://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
Reddithttps://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
LinkedInhttps://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 pagehttps://github.com/RustPython/RustPython/pull/7416
https://github.com/youknowone
youknowonehttps://github.com/youknowone
force-pushedhttps://github.com/RustPython/RustPython/compare/d0cfe84eadb146024d7b469837fefdf27423ad4e..1daba38abcd83486aca340fe6b9bb850eee0dd2f
d0cfe84https://github.com/RustPython/RustPython/commit/d0cfe84eadb146024d7b469837fefdf27423ad4e
1daba38https://github.com/RustPython/RustPython/commit/1daba38abcd83486aca340fe6b9bb850eee0dd2f
Compare https://github.com/RustPython/RustPython/compare/d0cfe84eadb146024d7b469837fefdf27423ad4e..1daba38abcd83486aca340fe6b9bb850eee0dd2f
March 19, 2026 19:39https://github.com/RustPython/RustPython/pull/7416#event-23730438903
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 19, 2026https://github.com/RustPython/RustPython/pull/7416#issuecomment-4092882388
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
https://github.com/youknowone
youknowonehttps://github.com/youknowone
force-pushedhttps://github.com/RustPython/RustPython/compare/18657330c9dbe7b4738378d85e2b06993be262f9..da1d518e2c280a99784444203ab6b53505099ee9
1865733https://github.com/RustPython/RustPython/commit/18657330c9dbe7b4738378d85e2b06993be262f9
da1d518https://github.com/RustPython/RustPython/commit/da1d518e2c280a99784444203ab6b53505099ee9
Compare https://github.com/RustPython/RustPython/compare/18657330c9dbe7b4738378d85e2b06993be262f9..da1d518e2c280a99784444203ab6b53505099ee9
March 23, 2026 05:06https://github.com/RustPython/RustPython/pull/7416#event-23800565299
https://github.com/youknowone
youknowonehttps://github.com/youknowone
March 23, 2026 09:09https://github.com/RustPython/RustPython/pull/7416#event-23805939294
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Mar 23, 2026 https://github.com/RustPython/RustPython/pull/7416#pullrequestreview-3990365358
View reviewed changes https://github.com/RustPython/RustPython/pull/7416/files
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/RustPython/RustPython/pull/7416#pullrequestreview-3990365358
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
8c01615https://github.com/RustPython/RustPython/commit/8c016157f43f6edac49cb21f817814779fd5cc7c
da1d518https://github.com/RustPython/RustPython/commit/da1d518e2c280a99784444203ab6b53505099ee9
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
crates/vm/src/builtins/type.rshttps://github.com/RustPython/RustPython/pull/7416/files#diff-fb88962f9343ca7b8d31bfe34f5063136575e05eadae6fccb3b64658e14b0d6c
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
crates/vm/src/builtins/type.rshttps://github.com/RustPython/RustPython/pull/7416/files#diff-fb88962f9343ca7b8d31bfe34f5063136575e05eadae6fccb3b64658e14b0d6c
coderabbitaihttps://github.com/apps/coderabbitai
Mar 23, 2026https://github.com/RustPython/RustPython/pull/7416#discussion_r2973802513
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
crates/vm/src/builtins/type.rshttps://github.com/RustPython/RustPython/pull/7416/files#diff-fb88962f9343ca7b8d31bfe34f5063136575e05eadae6fccb3b64658e14b0d6c
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
crates/vm/src/builtins/type.rshttps://github.com/RustPython/RustPython/pull/7416/files#diff-fb88962f9343ca7b8d31bfe34f5063136575e05eadae6fccb3b64658e14b0d6c
coderabbitaihttps://github.com/apps/coderabbitai
Mar 23, 2026https://github.com/RustPython/RustPython/pull/7416#discussion_r2973802521
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
crates/vm/src/builtins/type.rshttps://github.com/RustPython/RustPython/pull/7416/files#diff-fb88962f9343ca7b8d31bfe34f5063136575e05eadae6fccb3b64658e14b0d6c
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
https://github.com/youknowone
youknowonehttps://github.com/youknowone
force-pushedhttps://github.com/RustPython/RustPython/compare/da1d518e2c280a99784444203ab6b53505099ee9..f491a45accabaca344e806d8fbe438e93bedb8a6
da1d518https://github.com/RustPython/RustPython/commit/da1d518e2c280a99784444203ab6b53505099ee9
f491a45https://github.com/RustPython/RustPython/commit/f491a45accabaca344e806d8fbe438e93bedb8a6
Compare https://github.com/RustPython/RustPython/compare/da1d518e2c280a99784444203ab6b53505099ee9..f491a45accabaca344e806d8fbe438e93bedb8a6
March 23, 2026 12:56https://github.com/RustPython/RustPython/pull/7416#event-23812885065
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Mar 23, 2026 https://github.com/RustPython/RustPython/pull/7416#pullrequestreview-3991600442
View reviewed changes https://github.com/RustPython/RustPython/pull/7416/files
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/RustPython/RustPython/pull/7416#pullrequestreview-3991600442
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
da1d518https://github.com/RustPython/RustPython/commit/da1d518e2c280a99784444203ab6b53505099ee9
f491a45https://github.com/RustPython/RustPython/commit/f491a45accabaca344e806d8fbe438e93bedb8a6
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
crates/vm/src/builtins/type.rshttps://github.com/RustPython/RustPython/pull/7416/files#diff-fb88962f9343ca7b8d31bfe34f5063136575e05eadae6fccb3b64658e14b0d6c
coderabbitaihttps://github.com/apps/coderabbitai
Mar 23, 2026https://github.com/RustPython/RustPython/pull/7416#discussion_r2974919550
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
https://github.com/youknowone
youknowonehttps://github.com/youknowone
force-pushedhttps://github.com/RustPython/RustPython/compare/f491a45accabaca344e806d8fbe438e93bedb8a6..84ae152da124c3ed930dbce56f772f7351ef4a24
f491a45https://github.com/RustPython/RustPython/commit/f491a45accabaca344e806d8fbe438e93bedb8a6
84ae152https://github.com/RustPython/RustPython/commit/84ae152da124c3ed930dbce56f772f7351ef4a24
Compare https://github.com/RustPython/RustPython/compare/f491a45accabaca344e806d8fbe438e93bedb8a6..84ae152da124c3ed930dbce56f772f7351ef4a24
March 27, 2026 13:39https://github.com/RustPython/RustPython/pull/7416#event-23972564751
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Mar 27, 2026 https://github.com/RustPython/RustPython/pull/7416#pullrequestreview-4021312951
View reviewed changes https://github.com/RustPython/RustPython/pull/7416/files
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/RustPython/RustPython/pull/7416#pullrequestreview-4021312951
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
f491a45https://github.com/RustPython/RustPython/commit/f491a45accabaca344e806d8fbe438e93bedb8a6
84ae152https://github.com/RustPython/RustPython/commit/84ae152da124c3ed930dbce56f772f7351ef4a24
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
crates/vm/src/builtins/type.rshttps://github.com/RustPython/RustPython/pull/7416/files#diff-fb88962f9343ca7b8d31bfe34f5063136575e05eadae6fccb3b64658e14b0d6c
coderabbitaihttps://github.com/apps/coderabbitai
Mar 27, 2026https://github.com/RustPython/RustPython/pull/7416#discussion_r3001117681
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
https://github.com/youknowone
youknowonehttps://github.com/youknowone
force-pushedhttps://github.com/RustPython/RustPython/compare/84ae152da124c3ed930dbce56f772f7351ef4a24..5a291912104cad27f2967cc99f8c5b294a5e0e0f
84ae152https://github.com/RustPython/RustPython/commit/84ae152da124c3ed930dbce56f772f7351ef4a24
5a29191https://github.com/RustPython/RustPython/commit/5a291912104cad27f2967cc99f8c5b294a5e0e0f
Compare https://github.com/RustPython/RustPython/compare/84ae152da124c3ed930dbce56f772f7351ef4a24..5a291912104cad27f2967cc99f8c5b294a5e0e0f
March 28, 2026 19:41https://github.com/RustPython/RustPython/pull/7416#event-24001777853
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Mar 28, 2026 https://github.com/RustPython/RustPython/pull/7416#pullrequestreview-4025954757
View reviewed changes https://github.com/RustPython/RustPython/pull/7416/files
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/RustPython/RustPython/pull/7416#pullrequestreview-4025954757
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
84ae152https://github.com/RustPython/RustPython/commit/84ae152da124c3ed930dbce56f772f7351ef4a24
5a29191https://github.com/RustPython/RustPython/commit/5a291912104cad27f2967cc99f8c5b294a5e0e0f
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
https://github.com/youknowone
youknowonehttps://github.com/youknowone
Mar 29, 2026 https://github.com/RustPython/RustPython/pull/7416#pullrequestreview-4026792067
View reviewed changes https://github.com/RustPython/RustPython/pull/7416/files
crates/vm/src/builtins/type.rshttps://github.com/RustPython/RustPython/pull/7416/files#diff-fb88962f9343ca7b8d31bfe34f5063136575e05eadae6fccb3b64658e14b0d6c
youknowonehttps://github.com/youknowone
Mar 29, 2026https://github.com/RustPython/RustPython/pull/7416#discussion_r3006226919
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
crates/vm/src/builtins/type.rshttps://github.com/RustPython/RustPython/pull/7416/files#diff-fb88962f9343ca7b8d31bfe34f5063136575e05eadae6fccb3b64658e14b0d6c
youknowonehttps://github.com/youknowone
Mar 29, 2026https://github.com/RustPython/RustPython/pull/7416#discussion_r3006227062
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
https://github.com/youknowone
youknowonehttps://github.com/youknowone
force-pushedhttps://github.com/RustPython/RustPython/compare/37ff5f7e3165543585f0fca9ae85da834bc43da7..8326db9d381507a00bf8996a188f8a018c0c2ffe
37ff5f7https://github.com/RustPython/RustPython/commit/37ff5f7e3165543585f0fca9ae85da834bc43da7
8326db9https://github.com/RustPython/RustPython/commit/8326db9d381507a00bf8996a188f8a018c0c2ffe
Compare https://github.com/RustPython/RustPython/compare/37ff5f7e3165543585f0fca9ae85da834bc43da7..8326db9d381507a00bf8996a188f8a018c0c2ffe
April 13, 2026 15:54https://github.com/RustPython/RustPython/pull/7416#event-24453170554
https://github.com/youknowone
youknowonehttps://github.com/youknowone
force-pushedhttps://github.com/RustPython/RustPython/compare/e637be3832f49b01e5c4d5b6f244d1cdf469e608..6ed555e0d275f88a083546dfdcfae2326d6834a2
e637be3https://github.com/RustPython/RustPython/commit/e637be3832f49b01e5c4d5b6f244d1cdf469e608
6ed555ehttps://github.com/RustPython/RustPython/commit/6ed555e0d275f88a083546dfdcfae2326d6834a2
Compare https://github.com/RustPython/RustPython/compare/e637be3832f49b01e5c4d5b6f244d1cdf469e608..6ed555e0d275f88a083546dfdcfae2326d6834a2
July 7, 2026 00:00https://github.com/RustPython/RustPython/pull/7416#event-27637150713
https://github.com/youknowone
youknowonehttps://github.com/youknowone
Jul 7, 2026https://github.com/RustPython/RustPython/pull/7416#event-27637438209
https://github.com/youknowone
youknowonehttps://github.com/youknowone
force-pushedhttps://github.com/RustPython/RustPython/compare/9d62520f87d01a1912b9e19c0f956fd1042436f2..05891442dfc5da13adf74d39a7f2b57156a93c7c
9d62520https://github.com/RustPython/RustPython/commit/9d62520f87d01a1912b9e19c0f956fd1042436f2
0589144https://github.com/RustPython/RustPython/commit/05891442dfc5da13adf74d39a7f2b57156a93c7c
Compare https://github.com/RustPython/RustPython/compare/9d62520f87d01a1912b9e19c0f956fd1042436f2..05891442dfc5da13adf74d39a7f2b57156a93c7c
July 7, 2026 07:22https://github.com/RustPython/RustPython/pull/7416#event-27650125976
youknowonehttps://github.com/youknowone
July 7, 2026 18:15https://github.com/RustPython/RustPython/pull/7416#commits-pushed-5f43c79
https://github.com/youknowone
Unmark test_attr and test_method_call_error in test_monitoringhttps://github.com/RustPython/RustPython/pull/7416/commits/5f43c79422b6a8811925d387cc0cdaab1870591b
5f43c79https://github.com/RustPython/RustPython/pull/7416/commits/5f43c79422b6a8811925d387cc0cdaab1870591b
https://github.com/youknowone
Run tp_new specialization __init__ without a trampoline framehttps://github.com/RustPython/RustPython/pull/7416/commits/a3f92432e59367bf1a03c8cc7a02686b5fa8d331
a3f9243https://github.com/RustPython/RustPython/pull/7416/commits/a3f92432e59367bf1a03c8cc7a02686b5fa8d331
https://github.com/youknowone
Replace per-call thread-frame mutex with an atomic top-of-stack (unix)https://github.com/RustPython/RustPython/pull/7416/commits/df702842532b3856a8fd2c94ec1bd9e620073e45
df70284https://github.com/RustPython/RustPython/pull/7416/commits/df702842532b3856a8fd2c94ec1bd9e620073e45
https://github.com/youknowone
Skip exc_info save/restore for callees that never touch the slothttps://github.com/RustPython/RustPython/pull/7416/commits/f525b380de794dc9b709c1c79f19646f34cf6a13
f525b38https://github.com/RustPython/RustPython/pull/7416/commits/f525b380de794dc9b709c1c79f19646f34cf6a13
https://github.com/youknowone
Return a write-through FrameLocalsProxy from frame.f_localshttps://github.com/RustPython/RustPython/pull/7416/commits/98351a58d1fe688b327b2ce287f0f690d249763c
98351a5https://github.com/RustPython/RustPython/pull/7416/commits/98351a58d1fe688b327b2ce287f0f690d249763c
https://github.com/youknowone
Retain the caller frame so f_back resolves after it returnshttps://github.com/RustPython/RustPython/pull/7416/commits/a9f8b61e7949f3e023ce7ce9ae1e79d723ee743a
a9f8b61https://github.com/RustPython/RustPython/pull/7416/commits/a9f8b61e7949f3e023ce7ce9ae1e79d723ee743a
https://github.com/youknowone
Fix debug-build native stack overflow on deep recursionhttps://github.com/RustPython/RustPython/pull/7416/commits/f05926a280ef2f9bdc6633002fca4af3a302249a
f05926ahttps://github.com/RustPython/RustPython/pull/7416/commits/f05926a280ef2f9bdc6633002fca4af3a302249a
https://github.com/youknowone
Allocate exception instance __dict__ lazilyhttps://github.com/RustPython/RustPython/pull/7416/commits/4a92aadaed7e6f728ba1468cb17c75f9bd6ce0cc
4a92aadhttps://github.com/RustPython/RustPython/pull/7416/commits/4a92aadaed7e6f728ba1468cb17c75f9bd6ce0cc
https://github.com/youknowone
Allocate exception __dict__ lazily in vm.new_exceptionhttps://github.com/RustPython/RustPython/pull/7416/commits/072bc2ac5dcd3585a2f945094b4dcfca6dfc90bb
072bc2ahttps://github.com/RustPython/RustPython/pull/7416/commits/072bc2ac5dcd3585a2f945094b4dcfca6dfc90bb
https://github.com/youknowone
Validate FrameLocalsProxy.update() argumentshttps://github.com/RustPython/RustPython/pull/7416/commits/c172c74c2e421cff69ca4b0e0241d7fafe62e379
c172c74https://github.com/RustPython/RustPython/pull/7416/commits/c172c74c2e421cff69ca4b0e0241d7fafe62e379
https://github.com/youknowone
Address review nits in frame and faulthandlerhttps://github.com/RustPython/RustPython/pull/7416/commits/2652f4d29e1173cdc5cf609ec6d865c9e4fb5aed
2652f4dhttps://github.com/RustPython/RustPython/pull/7416/commits/2652f4d29e1173cdc5cf609ec6d865c9e4fb5aed
https://github.com/youknowone
Use scopeguard for start_the_world in faulthandler dump_all_threadshttps://github.com/RustPython/RustPython/pull/7416/commits/0499c0a1f39c9bd0bc0772155fca0736de494f5a
0499c0ahttps://github.com/RustPython/RustPython/pull/7416/commits/0499c0a1f39c9bd0bc0772155fca0736de494f5a
https://github.com/youknowone
Gitignore docs/superpowershttps://github.com/RustPython/RustPython/pull/7416/commits/811f23040e922bc8b42dae3776141dc10d5f3cf9
811f230https://github.com/RustPython/RustPython/pull/7416/commits/811f23040e922bc8b42dae3776141dc10d5f3cf9
https://github.com/youknowone
Rename type_bases_slot_rebuild.py to builtin_type_bases.pyhttps://github.com/RustPython/RustPython/pull/7416/commits/7982da8cb52c64bea6c28327c0da55ec622e7cd1
7982da8https://github.com/RustPython/RustPython/pull/7416/commits/7982da8cb52c64bea6c28327c0da55ec622e7cd1
https://github.com/youknowone
Apply rustfmt, ruff, and cspell lint fixeshttps://github.com/RustPython/RustPython/pull/7416/commits/683f16490d269cff6367e857f03704bb368781e9
683f164https://github.com/RustPython/RustPython/pull/7416/commits/683f16490d269cff6367e857f03704bb368781e9
https://github.com/youknowone
Gate unix-only QSBR methods to their call siteshttps://github.com/RustPython/RustPython/pull/7416/commits/ac2ce2bf3ef48e00c4856aca1467f4f1a349096c
ac2ce2bhttps://github.com/RustPython/RustPython/pull/7416/commits/ac2ce2bf3ef48e00c4856aca1467f4f1a349096c
https://github.com/youknowone
Visit the function closure tuple as a GC edgehttps://github.com/RustPython/RustPython/pull/7416/commits/f843473f99efe965def5e0a6cd21de5641a05e51
f843473https://github.com/RustPython/RustPython/pull/7416/commits/f843473f99efe965def5e0a6cd21de5641a05e51
https://github.com/youknowone
Apply formatting hook fix to builtin_type_bases.pyhttps://github.com/RustPython/RustPython/pull/7416/commits/7ab5f768ea2bfdbfa87d4bc0d1afb85d2f19eccc
7ab5f76https://github.com/RustPython/RustPython/pull/7416/commits/7ab5f768ea2bfdbfa87d4bc0d1afb85d2f19eccc
https://github.com/youknowone
Unmark asyncgen finalization-by-gc tests in test_base_eventshttps://github.com/RustPython/RustPython/pull/7416/commits/6626177711182c7334706672a604411aa6a06132
6626177https://github.com/RustPython/RustPython/pull/7416/commits/6626177711182c7334706672a604411aa6a06132
https://github.com/youknowone
Unmark test_sni_callback_refcycle in test_sslhttps://github.com/RustPython/RustPython/pull/7416/commits/77e6d31fedb09286808c7bf7a669c0f8262582c1
77e6d31https://github.com/RustPython/RustPython/pull/7416/commits/77e6d31fedb09286808c7bf7a669c0f8262582c1
https://github.com/youknowone
Widen GC stop-the-world gates from unix-only to all threading buildshttps://github.com/RustPython/RustPython/pull/7416/commits/d2720037c2704d3c5a7bfa3187d33e8c293c47f1
d272003https://github.com/RustPython/RustPython/pull/7416/commits/d2720037c2704d3c5a7bfa3187d33e8c293c47f1
https://github.com/youknowone
youknowonehttps://github.com/youknowone
force-pushedhttps://github.com/RustPython/RustPython/compare/d7433569f0ad7f74dc597ad156e4d249239fd004..d2720037c2704d3c5a7bfa3187d33e8c293c47f1
d743356https://github.com/RustPython/RustPython/commit/d7433569f0ad7f74dc597ad156e4d249239fd004
d272003https://github.com/RustPython/RustPython/commit/d2720037c2704d3c5a7bfa3187d33e8c293c47f1
Compare https://github.com/RustPython/RustPython/compare/d7433569f0ad7f74dc597ad156e4d249239fd004..d2720037c2704d3c5a7bfa3187d33e8c293c47f1
July 7, 2026 11:12https://github.com/RustPython/RustPython/pull/7416#event-27660023150
youknowonehttps://github.com/youknowone
July 7, 2026 23:18https://github.com/RustPython/RustPython/pull/7416#commits-pushed-e590e3b
https://github.com/youknowone
Detach current thread around blocking _winapi/_overlapped waitshttps://github.com/RustPython/RustPython/pull/7416/commits/e590e3b40a4cb41f24405f55ef6049e59f04f032
e590e3bhttps://github.com/RustPython/RustPython/pull/7416/commits/e590e3b40a4cb41f24405f55ef6049e59f04f032
https://github.com/youknowone
Format WaitForMultipleObjects allow_threads closurehttps://github.com/RustPython/RustPython/pull/7416/commits/cdd89083fdf7aa272b47a1b6e0cb11fbedef9cfa
cdd8908https://github.com/RustPython/RustPython/pull/7416/commits/cdd89083fdf7aa272b47a1b6e0cb11fbedef9cfa
https://github.com/youknowone
Treat concurrent sni_callback removal as no-op in invoke_sni_callbackhttps://github.com/RustPython/RustPython/pull/7416/commits/b6e8cbf678013c24f3b830800c973d749bf3a6e9
b6e8cbfhttps://github.com/RustPython/RustPython/pull/7416/commits/b6e8cbf678013c24f3b830800c973d749bf3a6e9
https://github.com/youknowone
Assert capi refcount on a fresh mortal list instead of the int type o…https://github.com/RustPython/RustPython/pull/7416/commits/5e2d09506ee35800f9ce6e5a3de27cba2e753b11
5e2d095https://github.com/RustPython/RustPython/pull/7416/commits/5e2d09506ee35800f9ce6e5a3de27cba2e753b11
https://github.com/youknowone
Traverse and GC-track PyOSError instanceshttps://github.com/RustPython/RustPython/pull/7416/commits/4f8116d3d2f2d7d9ff5a191aa288e118ac70a06f
4f8116dhttps://github.com/RustPython/RustPython/pull/7416/commits/4f8116d3d2f2d7d9ff5a191aa288e118ac70a06f
https://github.com/youknowone
Unmark test_blockingioerror in test_iohttps://github.com/RustPython/RustPython/pull/7416/commits/db737e1865bf74473fde73591c8dd6cfcd0a1173
db737e1https://github.com/RustPython/RustPython/pull/7416/commits/db737e1865bf74473fde73591c8dd6cfcd0a1173
https://github.com/youknowone
youknowonehttps://github.com/youknowone
c41180dhttps://github.com/RustPython/RustPython/commit/c41180d4b7ece1c214d6e69e794e954c5222700f
Jul 8, 2026https://github.com/RustPython/RustPython/pull/7416#event-27700271036
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
https://github.com/youknowone
youknowonehttps://github.com/youknowone
July 8, 2026 06:21https://github.com/RustPython/RustPython/pull/7416#event-27700272348
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F7416
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/RustPython/RustPython/pull/7416/files/5a291912104cad27f2967cc99f8c5b294a5e0e0f
Please reload this pagehttps://github.com/RustPython/RustPython/pull/7416
https://github.com/youknowone
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.