René's URL Explorer Experiment


Title: `directives_type_checking.py`: do not assert that type checkers must ignore all type errors in `if not TYPE_CHECKING` blocks by AlexWaygood · Pull Request #2210 · python/typing · GitHub

Open Graph Title: `directives_type_checking.py`: do not assert that type checkers must ignore all type errors in `if not TYPE_CHECKING` blocks by AlexWaygood · Pull Request #2210 · python/typing

X Title: `directives_type_checking.py`: do not assert that type checkers must ignore all type errors in `if not TYPE_CHECKING` blocks by AlexWaygood · Pull Request #2210 · python/typing

Description: Python static typing home. Hosts the documentation and a user help forum. - `directives_type_checking.py`: do not assert that type checkers must ignore all type errors in `if not TYPE_CHECKING` blocks by AlexWaygood · Pull Request #2210 · python/typing

Open Graph Description: This test currently asserts that type checkers should not emit errors for clearly incorrect code in if not TYPE_CHECKING blocks. Maybe that's reasonable behaviour, and maybe it's not, but i...

X Description: This test currently asserts that type checkers should not emit errors for clearly incorrect code in if not TYPE_CHECKING blocks. Maybe that's reasonable behaviour, and maybe it's no...

Opengraph URL: https://github.com/python/typing/pull/2210

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:1b2056a0-1117-59d2-7a71-97878740a53a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC9DA:30CC09:32D876:44EF8A:6AFF7A6C
html-safe-nonce73af755a0382ac9608e2855a7e8ae7abb23b8d2c774ff489f1690be9d6f2241e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOURBOjMwQ0MwOTozMkQ4NzY6NDRFRjhBOjZBRkY3QTZDIiwidmlzaXRvcl9pZCI6IjQ2ODAwNzExODA5OTkxNjI0NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4f78ac0b1dca8c0f3f60e3e8ee18049040d0ba471b28af1acda3bd250cade147
hovercard-subject-tagpull_request:3368160574
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/typing/2210/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f2f9975154092c5fe1376d1aaf53ef1fcacfaaa59b35ee6fd61332dc27ab77f6/python/typing/pull/2210
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f2f9975154092c5fe1376d1aaf53ef1fcacfaaa59b35ee6fd61332dc27ab77f6/python/typing/pull/2210
og:image:altThis test currently asserts that type checkers should not emit errors for clearly incorrect code in if not TYPE_CHECKING blocks. Maybe that's reasonable behaviour, and maybe it's not, but i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAlexWaygood
hostnamegithub.com
expected-hostnamegithub.com
Noneb5a2047dbbde77e0ba2f8dfd78621e8a7313a105f7437ca693fcccd16cd137ee
turbo-cache-controlno-cache
go-importgithub.com/python/typing git https://github.com/python/typing.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id24604008
octolytics-dimension-repository_nwopython/typing
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24604008
octolytics-dimension-repository_network_root_nwopython/typing
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
release83e3dfa4de364d61589204ed35e53b2b7f77fba2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/typing/pull/2210#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftyping%2Fpull%2F2210
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%2Ftyping%2Fpull%2F2210
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%2Ftyping
Reloadhttps://github.com/python/typing/pull/2210
Reloadhttps://github.com/python/typing/pull/2210
Reloadhttps://github.com/python/typing/pull/2210
pythonhttps://github.com/python
typinghttps://github.com/python/typing
Codehttps://github.com/python/typing
Issues206 (206)https://github.com/python/typing/issues
Pull requests27 (27)https://github.com/python/typing/pulls
Discussionshttps://github.com/python/typing/discussions
Actionshttps://github.com/python/typing/actions
Security and qualityhttps://github.com/python/typing/security
Insightshttps://github.com/python/typing/insights
https://github.com/python/typing
AlexWaygoodhttps://github.com/AlexWaygood
mainhttps://github.com/python/typing/tree/main
alex/rewrite-typecheckinghttps://github.com/python/typing/tree/alex/rewrite-typechecking
Conversationhttps://github.com/python/typing/pull/2210
Commits4 (4)https://github.com/python/typing/pull/2210/commits
Checkshttps://github.com/python/typing/pull/2210/checks
Files changedhttps://github.com/python/typing/pull/2210/files
directives_type_checking.py: do not assert that type checkers must ignore all type errors in if not TYPE_CHECKING blockshttps://github.com/python/typing/pull/2210#top
AlexWaygoodhttps://github.com/AlexWaygood
mainhttps://github.com/python/typing/tree/main
alex/rewrite-typecheckinghttps://github.com/python/typing/tree/alex/rewrite-typechecking
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 7, 2026https://github.com/python/typing/pull/2210#issue-4039283738
Please reload this pagehttps://github.com/python/typing/pull/2210
https://github.com/AlexWaygood
directives_type_checking.py: do not assert that type checkers must …https://github.com/python/typing/pull/2210/commits/2f678fd9c90698e110a931cd11255de72ea2e55a
2f678fdhttps://github.com/python/typing/pull/2210/commits/2f678fd9c90698e110a931cd11255de72ea2e55a
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
topic: conformance tests https://github.com/python/typing/issues?q=state%3Aopen%20label%3A%22topic%3A%20conformance%20tests%22
Mar 7, 2026https://github.com/python/typing/pull/2210#event-23362265715
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
JelleZijlstrahttps://github.com/JelleZijlstra
JukkaLhttps://github.com/JukkaL
carljmhttps://github.com/carljm
erictrauthttps://github.com/erictraut
rchen152https://github.com/rchen152
March 7, 2026 19:38https://github.com/python/typing/pull/2210#event-23362268116
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Mar 7, 2026https://github.com/python/typing/pull/2210#issuecomment-4017275999
Please reload this pagehttps://github.com/python/typing/pull/2210
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 7, 2026https://github.com/python/typing/pull/2210#issuecomment-4017296297
Please reload this pagehttps://github.com/python/typing/pull/2210
https://github.com/rchen152
rchen152https://github.com/rchen152
Mar 11, 2026https://github.com/python/typing/pull/2210#issuecomment-4035928334
Please reload this pagehttps://github.com/python/typing/pull/2210
https://github.com/sharkdp
sharkdphttps://github.com/sharkdp
Mar 12, 2026 https://github.com/python/typing/pull/2210#ref-pullrequest-4048715529
[ty] Suppress diagnostics in statically unreachable nested scopes astral-sh/ruff#23849 https://github.com/astral-sh/ruff/pull/23849
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 21, 2026https://github.com/python/typing/pull/2210#issuecomment-4103772787
Please reload this pagehttps://github.com/python/typing/pull/2210
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Mar 21, 2026 https://github.com/python/typing/pull/2210#pullrequestreview-3986271204
View reviewed changes https://github.com/python/typing/pull/2210/files/2f678fd9c90698e110a931cd11255de72ea2e55a
https://github.com/davidhalter
davidhalterhttps://github.com/davidhalter
Mar 23, 2026https://github.com/python/typing/pull/2210#issuecomment-4107337889
#2153https://github.com/python/typing/pull/2153
Please reload this pagehttps://github.com/python/typing/pull/2210
https://github.com/rchen152
rchen152https://github.com/rchen152
Apr 8, 2026 https://github.com/python/typing/pull/2210#pullrequestreview-4076863276
View reviewed changes https://github.com/python/typing/pull/2210/files/2f678fd9c90698e110a931cd11255de72ea2e55a
AlexWaygoodhttps://github.com/AlexWaygood
April 8, 2026 18:11https://github.com/python/typing/pull/2210#commits-pushed-b6074d8
https://github.com/AlexWaygood
Merge branch 'main' into alex/rewrite-typecheckinghttps://github.com/python/typing/pull/2210/commits/b6074d805e678aaa62c599b48ef7ac241c6cbf2a
b6074d8https://github.com/python/typing/pull/2210/commits/b6074d805e678aaa62c599b48ef7ac241c6cbf2a
https://github.com/AlexWaygood
add an optional E? assertion for documentation purposeshttps://github.com/python/typing/pull/2210/commits/c6fd374da4caa7fc55697038357e311aadadce88
c6fd374https://github.com/python/typing/pull/2210/commits/c6fd374da4caa7fc55697038357e311aadadce88
https://github.com/AlexWaygood
.https://github.com/python/typing/pull/2210/commits/d71055946ac66a97ddc1431c1f80ad595ac56804
d710559https://github.com/python/typing/pull/2210/commits/d71055946ac66a97ddc1431c1f80ad595ac56804
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Apr 8, 2026https://github.com/python/typing/pull/2210#issuecomment-4208281092
Please reload this pagehttps://github.com/python/typing/pull/2210
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Apr 8, 2026https://github.com/python/typing/pull/2210#issuecomment-4208309771
Please reload this pagehttps://github.com/python/typing/pull/2210
https://github.com/carljm
carljmhttps://github.com/carljm
Apr 8, 2026https://github.com/python/typing/pull/2210#issuecomment-4208368473
Please reload this pagehttps://github.com/python/typing/pull/2210
@JelleZijlstrahttps://github.com/JelleZijlstra
@rchen152https://github.com/rchen152
https://discuss.python.org/t/clarifying-that-type-checkers-should-not-emit-diagnostics-in-if-not-type-checking/106902https://discuss.python.org/t/clarifying-that-type-checkers-should-not-emit-diagnostics-in-if-not-type-checking/106902
@davidhalterhttps://github.com/davidhalter
#2153https://github.com/python/typing/pull/2153
Please reload this pagehttps://github.com/python/typing/pull/2210
https://github.com/davidhalter
davidhalterhttps://github.com/davidhalter
Apr 10, 2026https://github.com/python/typing/pull/2210#issuecomment-4222873970
Please reload this pagehttps://github.com/python/typing/pull/2210
https://github.com/carljm
carljmhttps://github.com/carljm
Apr 10, 2026https://github.com/python/typing/pull/2210#issuecomment-4226996674
Please reload this pagehttps://github.com/python/typing/pull/2210
Please reload this pagehttps://github.com/python/typing/pull/2210
https://github.co/hiddenchars
https://github.com/python/typing/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%2Ftyping%2Fpull%2F2210
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/typing/pull/2210/files/2f678fd9c90698e110a931cd11255de72ea2e55a
https://github.com/rchen152
rchen152 https://github.com/rchen152
https://github.com/python/typing/pull/2210/files/2f678fd9c90698e110a931cd11255de72ea2e55a
https://github.com/carljm
carljm https://github.com/carljm
https://github.com/JukkaL
JukkaL https://github.com/JukkaL
https://github.com/erictraut
erictraut https://github.com/erictraut
Please reload this pagehttps://github.com/python/typing/pull/2210
topic: conformance tests https://github.com/python/typing/issues?q=state%3Aopen%20label%3A%22topic%3A%20conformance%20tests%22
Please reload this pagehttps://github.com/python/typing/pull/2210
https://github.com/AlexWaygood
https://github.com/JelleZijlstra
https://github.com/rchen152
https://github.com/davidhalter
https://github.com/carljm
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.