René's URL Explorer Experiment


Title: Fix disabled stream identity and conditional annotation operand checks by youknowdot · Pull Request #8960 · RustPython/RustPython · GitHub

Open Graph Title: Fix disabled stream identity and conditional annotation operand checks by youknowdot · Pull Request #8960 · RustPython/RustPython

X Title: Fix disabled stream identity and conditional annotation operand checks by youknowdot · Pull Request #8960 · RustPython/RustPython

Description: Two existing Python 3.14 paths violate runtime object contracts: disabling standard I/O creates fresh None objects, and conditional-annotation tracking assumes a user-rebindable global is an exact set. Return the context's None singleton for all six disabled stream attributes, and validate the set operand before adding an annotation name. Include an embedding regression that actually runs without the stdio feature, and the unchanged canonical annotation regression from CPython's 3.14 maintenance backport. Extracted from #8954 onto main f39b054b9c8cbbf884f53123eef028131789990c, retaining the unchanged Python 3.14 target. The mega PR retains these fixes until they are merged independently. No marshal or Python 3.15 behavior is included. Fresh standalone validation on 8aeae47903cd431fcb31237597ae216c80512f65: Rust workspace: 1,345 passed /18 ignored; separate C-API: 116 passed /4 ignored Explicit no-stdio feature build: no_stdio_streams_are_none_singleton executed and passed (1 test); default builds compile it out Both Clippy gates pass without warnings, release build passes, and runtime identity confirms Python 3.14 at this head Full test_type_annotations: 49 run /1 skipped; test_setcomps: 2 run; test_site: 43 run /6 skipped. All complete successfully Existing syntax_annotations_locals.py and builtin_set.py pass Normal configured commit hooks pass; no existing assertions or expected-failure markers changed The official annotation backport commit c21e7c45a9770fba9ea3b8d5abb52c19274a08ef is after CPython 3.14.7. The released 3.14.7 reference still crashes on that exact canonical regression; this is a maintenance fix, not a claim that the vulnerable released tag passes. The corrected native regression passes; the reference crash was not repeated. AI assistance: prepared, reviewed and tested with Codex at the user's direction. Exact model metadata is unavailable; the commit records Assisted-by: Codex:model-version-unavailable.

Open Graph Description: Two existing Python 3.14 paths violate runtime object contracts: disabling standard I/O creates fresh None objects, and conditional-annotation tracking assumes a user-rebindable global is an exact ...

X Description: Two existing Python 3.14 paths violate runtime object contracts: disabling standard I/O creates fresh None objects, and conditional-annotation tracking assumes a user-rebindable global is an exact ...

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

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:9230f675-c014-cbb1-8c82-c413d7189205
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD4E2:16BF64:15819:1A6AD:6B01E69B
html-safe-nonce2062a7bb6d83116481d62aad750951cea8886bec080b78e1368a692b5b9839a3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEUyOjE2QkY2NDoxNTgxOToxQTZBRDo2QjAxRTY5QiIsInZpc2l0b3JfaWQiOiI3NDY3NTg0NTMzMjU3MzgxNTMxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac3e1df46ef5a4d5319630077eac10a071dc27a2a3bb6b057d0b9fa72733f7e990
hovercard-subject-tagpull_request:4734951338
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/8960/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:altTwo existing Python 3.14 paths violate runtime object contracts: disabling standard I/O creates fresh None objects, and conditional-annotation tracking assumes a user-rebindable global is an exact ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/8960/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F8960%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%2F8960%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/8960/files
Reloadhttps://github.com/RustPython/RustPython/pull/8960/files
Reloadhttps://github.com/RustPython/RustPython/pull/8960/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:python314-runtime-guardshttps://github.com/youknowdot/RustPython/tree/python314-runtime-guards
Conversation 5 https://github.com/RustPython/RustPython/pull/8960
Commits 1 https://github.com/RustPython/RustPython/pull/8960/commits
Checks 30 https://github.com/RustPython/RustPython/pull/8960/checks
Files changed https://github.com/RustPython/RustPython/pull/8960/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8960/files
Fix disabled stream identity and conditional annotation operand checks https://github.com/RustPython/RustPython/pull/8960/files#top
Show all changes 1 commit https://github.com/RustPython/RustPython/pull/8960/files
8aeae47 Fix disabled stream identity and annotation operand checks youknowdot Oct 4, 2026 https://github.com/RustPython/RustPython/pull/8960/commits/8aeae47903cd431fcb31237597ae216c80512f65
Clear filters https://github.com/RustPython/RustPython/pull/8960/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8960/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8960/files
test_type_annotations.py https://github.com/RustPython/RustPython/pull/8960/files#diff-e96c2288facefd2fd5b6939c5ca4a51480b98a0bf7af19c62e16818374005318
frame.rs https://github.com/RustPython/RustPython/pull/8960/files#diff-03f2741d7d424014f3d2f0c82226be52fa58134aab34bf0780714ee67a248deb
mod.rs https://github.com/RustPython/RustPython/pull/8960/files#diff-fe30ecf7c6b462e46e0874a55a05ea0edba83cefad5ac7a86e7137fa8f86ba74
Lib/test/test_type_annotations.pyhttps://github.com/RustPython/RustPython/pull/8960/files#diff-e96c2288facefd2fd5b6939c5ca4a51480b98a0bf7af19c62e16818374005318
View file https://github.com/youknowdot/RustPython/blob/8aeae47903cd431fcb31237597ae216c80512f65/Lib/test/test_type_annotations.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/8960/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/8960/files#diff-e96c2288facefd2fd5b6939c5ca4a51480b98a0bf7af19c62e16818374005318
https://github.com/RustPython/RustPython/pull/8960/files#diff-e96c2288facefd2fd5b6939c5ca4a51480b98a0bf7af19c62e16818374005318
youknowonehttps://github.com/youknowone
Oct 4, 2026https://github.com/RustPython/RustPython/pull/8960/files#r4178233079
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8960/files
youknowdothttps://github.com/youknowdot
Oct 4, 2026https://github.com/RustPython/RustPython/pull/8960/files#r4178544105
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
3.14 maintenance backport c21e7c45https://github.com/python/cpython/blob/c21e7c45a9770fba9ea3b8d5abb52c19274a08ef/Lib/test/test_type_annotations.py#L901-L914
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8960/files
https://github.com/RustPython/RustPython/pull/8960/files#diff-e96c2288facefd2fd5b6939c5ca4a51480b98a0bf7af19c62e16818374005318
crates/vm/src/frame.rshttps://github.com/RustPython/RustPython/pull/8960/files#diff-03f2741d7d424014f3d2f0c82226be52fa58134aab34bf0780714ee67a248deb
View file https://github.com/youknowdot/RustPython/blob/8aeae47903cd431fcb31237597ae216c80512f65/crates/vm/src/frame.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/8960/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/8960/files#diff-03f2741d7d424014f3d2f0c82226be52fa58134aab34bf0780714ee67a248deb
https://github.com/RustPython/RustPython/pull/8960/files#diff-03f2741d7d424014f3d2f0c82226be52fa58134aab34bf0780714ee67a248deb
crates/vm/src/vm/mod.rshttps://github.com/RustPython/RustPython/pull/8960/files#diff-fe30ecf7c6b462e46e0874a55a05ea0edba83cefad5ac7a86e7137fa8f86ba74
View file https://github.com/youknowdot/RustPython/blob/8aeae47903cd431fcb31237597ae216c80512f65/crates/vm/src/vm/mod.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/8960/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/8960/files#diff-fe30ecf7c6b462e46e0874a55a05ea0edba83cefad5ac7a86e7137fa8f86ba74
https://github.com/RustPython/RustPython/pull/8960/files#diff-fe30ecf7c6b462e46e0874a55a05ea0edba83cefad5ac7a86e7137fa8f86ba74
https://github.com/RustPython/RustPython/pull/8960/files#diff-fe30ecf7c6b462e46e0874a55a05ea0edba83cefad5ac7a86e7137fa8f86ba74
https://github.com/RustPython/RustPython/pull/8960/files#diff-fe30ecf7c6b462e46e0874a55a05ea0edba83cefad5ac7a86e7137fa8f86ba74
Please reload this pagehttps://github.com/RustPython/RustPython/pull/8960/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.