René's URL Explorer Experiment


Title: gh-149985: Remove future annotations and if TYPE_CHECKING in pyrepl by JelleZijlstra · Pull Request #149992 · python/cpython · GitHub

Open Graph Title: gh-149985: Remove future annotations and if TYPE_CHECKING in pyrepl by JelleZijlstra · Pull Request #149992 · python/cpython

X Title: gh-149985: Remove future annotations and if TYPE_CHECKING in pyrepl by JelleZijlstra · Pull Request #149992 · python/cpython

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

Open Graph Description: from __future__ import annotations is soft-deprecated now that evaluation of annotations is always deferred. if TYPE_CHECKING can often be replaced with lazy imports. A risk is that creation of dat...

X Description: from __future__ import annotations is soft-deprecated now that evaluation of annotations is always deferred. if TYPE_CHECKING can often be replaced with lazy imports. A risk is that creation of dat...

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

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:9bbaaf3f-74d7-c92a-3021-e5cc05216c46
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8978:34CAB:38D7CF3:48AEDB9:6B02041B
html-safe-nonce54a57a8755b5f839e5088d294582a480eaade985d2a742fd0baffe0fe76e56ee
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTc4OjM0Q0FCOjM4RDdDRjM6NDhBRURCOTo2QjAyMDQxQiIsInZpc2l0b3JfaWQiOiIyMjUwNTQ5OTg0MjkyMzczNTMyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac599635eb1ac4cdec92cdb045603fdc0a663d29794a9b59bc21c131d3d710cbe5
hovercard-subject-tagpull_request:3702385360
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/149992/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f4355f9e177e8eef65e480cc6795d10f598f8fde1d59733b116d9d19e983e4a0/python/cpython/pull/149992
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f4355f9e177e8eef65e480cc6795d10f598f8fde1d59733b116d9d19e983e4a0/python/cpython/pull/149992
og:image:altfrom __future__ import annotations is soft-deprecated now that evaluation of annotations is always deferred. if TYPE_CHECKING can often be replaced with lazy imports. A risk is that creation of dat...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJelleZijlstra
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/149992#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F149992
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%2F149992
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/149992
Reloadhttps://github.com/python/cpython/pull/149992
Reloadhttps://github.com/python/cpython/pull/149992
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
JelleZijlstra:nofuturehttps://github.com/JelleZijlstra/cpython/tree/nofuture
Conversationhttps://github.com/python/cpython/pull/149992
Commits6 (6)https://github.com/python/cpython/pull/149992/commits
Checkshttps://github.com/python/cpython/pull/149992/checks
Files changedhttps://github.com/python/cpython/pull/149992/files
gh-149985: Remove future annotations and if TYPE_CHECKING in pyreplhttps://github.com/python/cpython/pull/149992#top
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
JelleZijlstra:nofuturehttps://github.com/JelleZijlstra/cpython/tree/nofuture
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 18, 2026https://github.com/python/cpython/pull/149992#issue-4469716502
Please reload this pagehttps://github.com/python/cpython/pull/149992
Modernize annotation usage in pyrepl #149985https://github.com/python/cpython/issues/149985
Please reload this pagehttps://github.com/python/cpython/pull/149992
https://github.com/JelleZijlstra
pythongh-149985https://github.com/python/cpython/issues/149985
: Remove future annotations and if TYPE_CHECKING in py…https://github.com/python/cpython/pull/149992/commits/03be6c8806fc48b4597f08bc9c3570c410a6e910
03be6c8https://github.com/python/cpython/pull/149992/commits/03be6c8806fc48b4597f08bc9c3570c410a6e910
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
May 18, 2026https://github.com/python/cpython/pull/149992#event-25660527651
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
May 18, 2026 https://github.com/python/cpython/pull/149992#ref-issue-4469350481
Modernize annotation usage in pyrepl #149985 https://github.com/python/cpython/issues/149985
https://github.com/JelleZijlstra
.https://github.com/python/cpython/pull/149992/commits/0e8b022b3f7e26d399f463829af9e50c49cfb0ec
0e8b022https://github.com/python/cpython/pull/149992/commits/0e8b022b3f7e26d399f463829af9e50c49cfb0ec
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
May 18, 2026 14:11https://github.com/python/cpython/pull/149992#event-25661220530
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
ambvhttps://github.com/ambv
lysnikolaouhttps://github.com/lysnikolaou
pablogsalhttps://github.com/pablogsal
code ownershttps://github.com/python/cpython/blob/bd6bf91fcba8a8fba8b9aea6cc971333c9be3ad9/.github/CODEOWNERS#L561
May 18, 2026 14:11https://github.com/python/cpython/pull/149992#event-25661221492
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
May 18, 2026https://github.com/python/cpython/pull/149992#event-25661224736
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jun 6, 2026 https://github.com/python/cpython/pull/149992#ref-issue-4600703531
Type annotations in _colorize module are unresolvable at runtime #150994 https://github.com/python/cpython/issues/150994
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Aug 19, 2026https://github.com/python/cpython/pull/149992#issuecomment-5346103439
Please reload this pagehttps://github.com/python/cpython/pull/149992
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Aug 19, 2026https://github.com/python/cpython/pull/149992#event-29699579023
https://github.com/JelleZijlstra
Merge branch 'main' into nofuturehttps://github.com/python/cpython/pull/149992/commits/b65df69c8f899ddf47af8d4474b17c7d99737b98
b65df69https://github.com/python/cpython/pull/149992/commits/b65df69c8f899ddf47af8d4474b17c7d99737b98
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
stale https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astale
Aug 25, 2026https://github.com/python/cpython/pull/149992#event-29957573154
JelleZijlstrahttps://github.com/JelleZijlstra
August 25, 2026 06:12https://github.com/python/cpython/pull/149992#commits-pushed-26e1922
https://github.com/JelleZijlstra
unused ignoreshttps://github.com/python/cpython/pull/149992/commits/26e192278688eb7c418dccc55ec8c2dcd5399792
26e1922https://github.com/python/cpython/pull/149992/commits/26e192278688eb7c418dccc55ec8c2dcd5399792
https://github.com/JelleZijlstra
unusedhttps://github.com/python/cpython/pull/149992/commits/f06ee94fe80e706afdcea67546246266860c9979
f06ee94https://github.com/python/cpython/pull/149992/commits/f06ee94fe80e706afdcea67546246266860c9979
https://github.com/JelleZijlstra
morehttps://github.com/python/cpython/pull/149992/commits/d63a67bf513995b21a99a770dc4dd64316f2d8df
d63a67bhttps://github.com/python/cpython/pull/149992/commits/d63a67bf513995b21a99a770dc4dd64316f2d8df
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
e2118b0https://github.com/python/cpython/commit/e2118b0ac21191bfeecdc97758a87d88ffdda154
Aug 25, 2026https://github.com/python/cpython/pull/149992#event-30012680108
Please reload this pagehttps://github.com/python/cpython/pull/149992
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Aug 25, 2026https://github.com/python/cpython/pull/149992#event-30012681817
https://github.com/ashm-dev
ashm-devhttps://github.com/ashm-dev
Aug 26, 2026 https://github.com/python/cpython/pull/149992#ref-issue-5254278566
Modernize annotation usage in libregrtest #156402 https://github.com/python/cpython/issues/156402
clin1234https://github.com/clin1234
Aug 27, 2026 https://github.com/python/cpython/pull/149992#ref-commit-aba1494
https://github.com/JelleZijlstra
https://github.com/clin1234
pythongh-149985https://github.com/python/cpython/issues/149985
: Remove future annotations and if TYPE_CHECKING in py…https://github.com/clin1234/cpython/commit/aba14948e558fe2ac159c6cb86779921ecfb5bfb
aba1494https://github.com/clin1234/cpython/commit/aba14948e558fe2ac159c6cb86779921ecfb5bfb
python#149992https://github.com/python/cpython/pull/149992
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%2F149992
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/lysnikolaou
lysnikolaou https://github.com/lysnikolaou
https://github.com/ambv
ambv https://github.com/ambv
Please reload this pagehttps://github.com/python/cpython/pull/149992
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/149992
https://github.com/JelleZijlstra
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.