| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:4876954a-ec89-322f-5a5a-3ef26b72f96d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 96A0:17FB7:2F472BD:3C04DAD:6B01F738 |
| html-safe-nonce | e8ae7624623fc3e5b9dc603a122a3c00f5f240d185cf52da2e3498de426e2c5f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkEwOjE3RkI3OjJGNDcyQkQ6M0MwNERBRDo2QjAxRjczOCIsInZpc2l0b3JfaWQiOiI3MjgyMTEwODY3NDEwMzg0Njk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5e05d5081c2b6aeb4cb43c22860e4d7fa3633fd159336db55259e5ace3878e40 |
| hovercard-subject-tag | pull_request:4183861610 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/155026/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/0a57a7795bf671504a3b90a4db6b491fbcf7c4a4becd584ff74e874bec75fc90/python/cpython/pull/155026 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0a57a7795bf671504a3b90a4db6b491fbcf7c4a4becd584ff74e874bec75fc90/python/cpython/pull/155026 |
| og:image:alt | Add an intrinsic for conditional annotations to avoid user to change them
For more details and discussion see gh-154902 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | deadlovelll |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/155026#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F155026 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F155026 |
| 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=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/155026 |
| Reload | https://github.com/python/cpython/pull/155026 |
| Reload | https://github.com/python/cpython/pull/155026 |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| https://github.com/python/cpython |
| JelleZijlstra | https://github.com/JelleZijlstra |
| python:main | https://github.com/python/cpython/tree/main |
| deadlovelll:gh-154902-intr | https://github.com/deadlovelll/cpython/tree/gh-154902-intr |
| Conversation | https://github.com/python/cpython/pull/155026 |
| Commits6 (6) | https://github.com/python/cpython/pull/155026/commits |
| Checks | https://github.com/python/cpython/pull/155026/checks |
| Files changed | https://github.com/python/cpython/pull/155026/files |
| gh-154902: Add an intrinsic for conditional annotations | https://github.com/python/cpython/pull/155026#top |
| JelleZijlstra | https://github.com/JelleZijlstra |
| python:main | https://github.com/python/cpython/tree/main |
| deadlovelll:gh-154902-intr | https://github.com/deadlovelll/cpython/tree/gh-154902-intr |
|
| https://github.com/deadlovelll |
| deadlovelll | https://github.com/deadlovelll |
| Aug 1, 2026 | https://github.com/python/cpython/pull/155026#issue-5037006295 |
| gh-154902 | https://github.com/python/cpython/issues/154902 |
| Please reload this page | https://github.com/python/cpython/pull/155026 |
|
| https://github.com/deadlovelll |
| pythongh-154902 | https://github.com/python/cpython/issues/154902 |
| : Add an intrinsic for conditional annotations | https://github.com/python/cpython/pull/155026/commits/fc16e15898dbe7b3ede8e4f1f6dd48d27ee8f49a |
| fc16e15 | https://github.com/python/cpython/pull/155026/commits/fc16e15898dbe7b3ede8e4f1f6dd48d27ee8f49a |
| https://github.com/deadlovelll |
| deadlovelll | https://github.com/deadlovelll |
| JelleZijlstra | https://github.com/JelleZijlstra |
| iritkatriel | https://github.com/iritkatriel |
| markshannon | https://github.com/markshannon |
| code owners | https://github.com/python/cpython/blob/afd10f0e28476f5ca0eaeac34ebf85dda2cdc6e5/.github/CODEOWNERS#L350 |
| August 1, 2026 12:30 | https://github.com/python/cpython/pull/155026#event-28817970183 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Aug 1, 2026 | https://github.com/python/cpython/pull/155026#event-28817971758 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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 |
| sobolevn | https://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.py | https://github.com/python/cpython/pull/155026/files/fc16e15898dbe7b3ede8e4f1f6dd48d27ee8f49a#diff-e96c2288facefd2fd5b6939c5ca4a51480b98a0bf7af19c62e16818374005318 |
| sobolevn | https://github.com/sobolevn |
| Aug 1, 2026 | https://github.com/python/cpython/pull/155026#discussion_r3695647239 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/155026 |
| deadlovelll | https://github.com/deadlovelll |
| Aug 1, 2026 | https://github.com/python/cpython/pull/155026#discussion_r3695696161 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/155026 |
| Python/intrinsics.c | https://github.com/python/cpython/pull/155026/files/fc16e15898dbe7b3ede8e4f1f6dd48d27ee8f49a#diff-1c4afe2e9762d9307a6b09ea1e59abb8ba929f2c1c92d15e911c6a93f5fd4c6b |
| Please reload this page | https://github.com/python/cpython/pull/155026 |
| deadlovelll | https://github.com/deadlovelll |
| August 1, 2026 16:05 | https://github.com/python/cpython/pull/155026#commits-pushed-46c3fbf |
|
| https://github.com/deadlovelll |
|
| https://github.com/sobolevn |
| Update Python/intrinsics.c | https://github.com/python/cpython/pull/155026/commits/46c3fbfc45fa89645e78d0898e9552ec08d7301f |
| 46c3fbf | https://github.com/python/cpython/pull/155026/commits/46c3fbfc45fa89645e78d0898e9552ec08d7301f |
|
| https://github.com/deadlovelll |
| review change | https://github.com/python/cpython/pull/155026/commits/9207dba589d4104486ca119b78e9f30ed4f9ebd5 |
| 9207dba | https://github.com/python/cpython/pull/155026/commits/9207dba589d4104486ca119b78e9f30ed4f9ebd5 |
|
| https://github.com/deadlovelll |
| pull | https://github.com/python/cpython/pull/155026/commits/7fee497373b0f81c144e8862b9ffa807d3efdbe1 |
| 7fee497 | https://github.com/python/cpython/pull/155026/commits/7fee497373b0f81c144e8862b9ffa807d3efdbe1 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://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 |
| JelleZijlstra | https://github.com/JelleZijlstra |
| https://github.com/python/cpython/pull/155026#pullrequestreview-4834748091 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/155026 |
| deadlovelll | https://github.com/deadlovelll |
| August 1, 2026 16:45 | https://github.com/python/cpython/pull/155026#commits-pushed-d91aa55 |
|
| https://github.com/deadlovelll |
| bump PYC_MAGIC_NUMBER | https://github.com/python/cpython/pull/155026/commits/d91aa55afaa3d730fdd6f63105c961c0259f208a |
| d91aa55 | https://github.com/python/cpython/pull/155026/commits/d91aa55afaa3d730fdd6f63105c961c0259f208a |
|
| https://github.com/deadlovelll |
| added INTRINSIC_ADD_CONDITIONAL_ANNOTATION row to documentation column | https://github.com/python/cpython/pull/155026/commits/231fb8d5f1e50dfdf67dd62b2a1dd9cbbb31c162 |
| 231fb8d | https://github.com/python/cpython/pull/155026/commits/231fb8d5f1e50dfdf67dd62b2a1dd9cbbb31c162 |
| https://github.com/deadlovelll |
| deadlovelll | https://github.com/deadlovelll |
| Aug 1, 2026 | https://github.com/python/cpython/pull/155026#issuecomment-5151722355 |
| Please reload this page | https://github.com/python/cpython/pull/155026 |
| Please reload this page | https://github.com/python/cpython/pull/155026 |
| https://github.com/apps/read-the-docs-community |
| read-the-docs-community | https://github.com/apps/read-the-docs-community |
| Aug 1, 2026 | https://github.com/python/cpython/pull/155026#issuecomment-5151740526 |
| cpython-previews | https://app.readthedocs.org/projects/cpython-previews/ |
| #33867038 | https://app.readthedocs.org/projects/cpython-previews/builds/33867038/ |
| 231fb8d | https://github.com/python/cpython/commit/231fb8d5f1e50dfdf67dd62b2a1dd9cbbb31c162 |
| main | https://cpython-previews.readthedocs.io/en/main/ |
| 534b6b0 | https://github.com/python/cpython/commit/534b6b062e53f70587840eac9b432442f66c16c6 |
| 🔍 Preview build | https://cpython-previews--155026.org.readthedocs.build/en/155026/ |
| library/dis.html | https://cpython-previews--155026.org.readthedocs.build/en/155026/library/dis.html |
| whatsnew/changelog.html | https://cpython-previews--155026.org.readthedocs.build/en/155026/whatsnew/changelog.html |
| Please reload this page | https://github.com/python/cpython/pull/155026 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://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-app | https://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, 2026 | https://github.com/python/cpython/pull/155026#event-29014664361 |
| https://github.com/JelleZijlstra |
| JelleZijlstra | https://github.com/JelleZijlstra |
| dd5a285 | https://github.com/python/cpython/commit/dd5a285387eece8cb9667fad5895c3a3468e5e66 |
| Aug 5, 2026 | https://github.com/python/cpython/pull/155026#event-29014688960 |
| Please reload this page | https://github.com/python/cpython/pull/155026 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Aug 5, 2026 | https://github.com/python/cpython/pull/155026#event-29014692230 |
| mbeijen | https://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-154902 | https://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 |
| 780d49d | https://github.com/mbeijen/cpython/commit/780d49d3ece87adf1b87e6d1732734ecda11fd31 |
| …#155026 | https://github.com/python/cpython/pull/155026 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%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 page | https://github.com/python/cpython/pull/155026 |
| Please reload this page | https://github.com/python/cpython/pull/155026 |
|
| https://github.com/deadlovelll |
|
| https://github.com/JelleZijlstra |
|
| https://github.com/sobolevn |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |