René's URL Explorer Experiment


Title: gh-154902: Add an intrinsic for conditional annotations by deadlovelll · Pull Request #155026 · python/cpython · GitHub

Open Graph Title: gh-154902: Add an intrinsic for conditional annotations by deadlovelll · Pull Request #155026 · python/cpython

X Title: gh-154902: Add an intrinsic for conditional annotations by deadlovelll · Pull Request #155026 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Add an intrinsic for conditional annotations to avoid user to change them For more details and discussion see gh-154902

X Description: Add an intrinsic for conditional annotations to avoid user to change them For more details and discussion see gh-154902

Opengraph URL: https://github.com/python/cpython/pull/155026

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/_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:4876954a-ec89-322f-5a5a-3ef26b72f96d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id96A0:17FB7:2F472BD:3C04DAD:6B01F738
html-safe-noncee8ae7624623fc3e5b9dc603a122a3c00f5f240d185cf52da2e3498de426e2c5f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkEwOjE3RkI3OjJGNDcyQkQ6M0MwNERBRDo2QjAxRjczOCIsInZpc2l0b3JfaWQiOiI3MjgyMTEwODY3NDEwMzg0Njk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5e05d5081c2b6aeb4cb43c22860e4d7fa3633fd159336db55259e5ace3878e40
hovercard-subject-tagpull_request:4183861610
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/python/cpython/155026/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0a57a7795bf671504a3b90a4db6b491fbcf7c4a4becd584ff74e874bec75fc90/python/cpython/pull/155026
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0a57a7795bf671504a3b90a4db6b491fbcf7c4a4becd584ff74e874bec75fc90/python/cpython/pull/155026
og:image:altAdd an intrinsic for conditional annotations to avoid user to change them For more details and discussion see gh-154902
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedeadlovelll
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/155026#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F155026
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%2Fpython%2Fcpython%2Fpull%2F155026
Sign uphttps://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=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/155026
Reloadhttps://github.com/python/cpython/pull/155026
Reloadhttps://github.com/python/cpython/pull/155026
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
deadlovelll:gh-154902-intrhttps://github.com/deadlovelll/cpython/tree/gh-154902-intr
Conversationhttps://github.com/python/cpython/pull/155026
Commits6 (6)https://github.com/python/cpython/pull/155026/commits
Checkshttps://github.com/python/cpython/pull/155026/checks
Files changedhttps://github.com/python/cpython/pull/155026/files
gh-154902: Add an intrinsic for conditional annotationshttps://github.com/python/cpython/pull/155026#top
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
deadlovelll:gh-154902-intrhttps://github.com/deadlovelll/cpython/tree/gh-154902-intr
https://github.com/deadlovelll
deadlovelllhttps://github.com/deadlovelll
Aug 1, 2026https://github.com/python/cpython/pull/155026#issue-5037006295
gh-154902https://github.com/python/cpython/issues/154902
Please reload this pagehttps://github.com/python/cpython/pull/155026
https://github.com/deadlovelll
pythongh-154902https://github.com/python/cpython/issues/154902
: Add an intrinsic for conditional annotationshttps://github.com/python/cpython/pull/155026/commits/fc16e15898dbe7b3ede8e4f1f6dd48d27ee8f49a
fc16e15https://github.com/python/cpython/pull/155026/commits/fc16e15898dbe7b3ede8e4f1f6dd48d27ee8f49a
https://github.com/deadlovelll
deadlovelllhttps://github.com/deadlovelll
JelleZijlstrahttps://github.com/JelleZijlstra
iritkatrielhttps://github.com/iritkatriel
markshannonhttps://github.com/markshannon
code ownershttps://github.com/python/cpython/blob/afd10f0e28476f5ca0eaeac34ebf85dda2cdc6e5/.github/CODEOWNERS#L350
August 1, 2026 12:30https://github.com/python/cpython/pull/155026#event-28817970183
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Aug 1, 2026https://github.com/python/cpython/pull/155026#event-28817971758
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 1, 2026 https://github.com/python/cpython/pull/155026#ref-issue-5014879235
Assigning __conditional_annotations__ crashes the interpreter #154902 https://github.com/python/cpython/issues/154902
https://github.com/sobolevn
sobolevnhttps://github.com/sobolevn
Aug 1, 2026 https://github.com/python/cpython/pull/155026#pullrequestreview-4834692658
View reviewed changes https://github.com/python/cpython/pull/155026/files/fc16e15898dbe7b3ede8e4f1f6dd48d27ee8f49a
Lib/test/test_type_annotations.pyhttps://github.com/python/cpython/pull/155026/files/fc16e15898dbe7b3ede8e4f1f6dd48d27ee8f49a#diff-e96c2288facefd2fd5b6939c5ca4a51480b98a0bf7af19c62e16818374005318
sobolevnhttps://github.com/sobolevn
Aug 1, 2026https://github.com/python/cpython/pull/155026#discussion_r3695647239
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/155026
deadlovelllhttps://github.com/deadlovelll
Aug 1, 2026https://github.com/python/cpython/pull/155026#discussion_r3695696161
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/155026
Python/intrinsics.chttps://github.com/python/cpython/pull/155026/files/fc16e15898dbe7b3ede8e4f1f6dd48d27ee8f49a#diff-1c4afe2e9762d9307a6b09ea1e59abb8ba929f2c1c92d15e911c6a93f5fd4c6b
Please reload this pagehttps://github.com/python/cpython/pull/155026
deadlovelllhttps://github.com/deadlovelll
August 1, 2026 16:05https://github.com/python/cpython/pull/155026#commits-pushed-46c3fbf
https://github.com/deadlovelll
https://github.com/sobolevn
Update Python/intrinsics.chttps://github.com/python/cpython/pull/155026/commits/46c3fbfc45fa89645e78d0898e9552ec08d7301f
46c3fbfhttps://github.com/python/cpython/pull/155026/commits/46c3fbfc45fa89645e78d0898e9552ec08d7301f
https://github.com/deadlovelll
review changehttps://github.com/python/cpython/pull/155026/commits/9207dba589d4104486ca119b78e9f30ed4f9ebd5
9207dbahttps://github.com/python/cpython/pull/155026/commits/9207dba589d4104486ca119b78e9f30ed4f9ebd5
https://github.com/deadlovelll
pullhttps://github.com/python/cpython/pull/155026/commits/7fee497373b0f81c144e8862b9ffa807d3efdbe1
7fee497https://github.com/python/cpython/pull/155026/commits/7fee497373b0f81c144e8862b9ffa807d3efdbe1
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Aug 1, 2026 https://github.com/python/cpython/pull/155026#pullrequestreview-4834748091
View reviewed changes https://github.com/python/cpython/pull/155026/files/7fee497373b0f81c144e8862b9ffa807d3efdbe1
JelleZijlstrahttps://github.com/JelleZijlstra
https://github.com/python/cpython/pull/155026#pullrequestreview-4834748091
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/155026
deadlovelllhttps://github.com/deadlovelll
August 1, 2026 16:45https://github.com/python/cpython/pull/155026#commits-pushed-d91aa55
https://github.com/deadlovelll
bump PYC_MAGIC_NUMBERhttps://github.com/python/cpython/pull/155026/commits/d91aa55afaa3d730fdd6f63105c961c0259f208a
d91aa55https://github.com/python/cpython/pull/155026/commits/d91aa55afaa3d730fdd6f63105c961c0259f208a
https://github.com/deadlovelll
added INTRINSIC_ADD_CONDITIONAL_ANNOTATION row to documentation columnhttps://github.com/python/cpython/pull/155026/commits/231fb8d5f1e50dfdf67dd62b2a1dd9cbbb31c162
231fb8dhttps://github.com/python/cpython/pull/155026/commits/231fb8d5f1e50dfdf67dd62b2a1dd9cbbb31c162
https://github.com/deadlovelll
deadlovelllhttps://github.com/deadlovelll
Aug 1, 2026https://github.com/python/cpython/pull/155026#issuecomment-5151722355
Please reload this pagehttps://github.com/python/cpython/pull/155026
Please reload this pagehttps://github.com/python/cpython/pull/155026
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Aug 1, 2026https://github.com/python/cpython/pull/155026#issuecomment-5151740526
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#33867038https://app.readthedocs.org/projects/cpython-previews/builds/33867038/
231fb8dhttps://github.com/python/cpython/commit/231fb8d5f1e50dfdf67dd62b2a1dd9cbbb31c162
mainhttps://cpython-previews.readthedocs.io/en/main/
534b6b0https://github.com/python/cpython/commit/534b6b062e53f70587840eac9b432442f66c16c6
  🔍 Preview build   https://cpython-previews--155026.org.readthedocs.build/en/155026/
library/dis.htmlhttps://cpython-previews--155026.org.readthedocs.build/en/155026/library/dis.html
whatsnew/changelog.htmlhttps://cpython-previews--155026.org.readthedocs.build/en/155026/whatsnew/changelog.html
Please reload this pagehttps://github.com/python/cpython/pull/155026
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Aug 5, 2026 https://github.com/python/cpython/pull/155026#pullrequestreview-4865424092
View reviewed changes https://github.com/python/cpython/pull/155026/files/231fb8d5f1e50dfdf67dd62b2a1dd9cbbb31c162
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Aug 5, 2026https://github.com/python/cpython/pull/155026#event-29014664361
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
dd5a285https://github.com/python/cpython/commit/dd5a285387eece8cb9667fad5895c3a3468e5e66
Aug 5, 2026https://github.com/python/cpython/pull/155026#event-29014688960
Please reload this pagehttps://github.com/python/cpython/pull/155026
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Aug 5, 2026https://github.com/python/cpython/pull/155026#event-29014692230
mbeijenhttps://github.com/mbeijen
Aug 14, 2026 https://github.com/python/cpython/pull/155026#ref-commit-780d49d
https://github.com/deadlovelll
https://github.com/sobolevn
https://github.com/mbeijen
pythongh-154902https://github.com/python/cpython/issues/154902
: Add an intrinsic for conditional annotations (https://github.com/mbeijen/cpython/commit/780d49d3ece87adf1b87e6d1732734ecda11fd31
python…https://github.com/python/cpython/pull/155026
780d49dhttps://github.com/mbeijen/cpython/commit/780d49d3ece87adf1b87e6d1732734ecda11fd31
…#155026https://github.com/python/cpython/pull/155026
https://github.co/hiddenchars
https://github.com/python/cpython/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%2Fpython%2Fcpython%2Fpull%2F155026
https://github.com/sobolevn
sobolevn https://github.com/sobolevn
https://github.com/python/cpython/pull/155026/files/fc16e15898dbe7b3ede8e4f1f6dd48d27ee8f49a
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/cpython/pull/155026/files/231fb8d5f1e50dfdf67dd62b2a1dd9cbbb31c162
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/iritkatriel
iritkatriel https://github.com/iritkatriel
Please reload this pagehttps://github.com/python/cpython/pull/155026
Please reload this pagehttps://github.com/python/cpython/pull/155026
https://github.com/deadlovelll
https://github.com/JelleZijlstra
https://github.com/sobolevn
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.