René's URL Explorer Experiment


Title: [stubtest] Check runtime availability of private types not marked `@type_check_only` by brianschubert · Pull Request #19574 · python/mypy · GitHub

Open Graph Title: [stubtest] Check runtime availability of private types not marked `@type_check_only` by brianschubert · Pull Request #19574 · python/mypy

X Title: [stubtest] Check runtime availability of private types not marked `@type_check_only` by brianschubert · Pull Request #19574 · python/mypy

Description: Optional static typing for Python. Contribute to python/mypy development by creating an account on GitHub.

Open Graph Description: Currently, stubtest ignores symbols that are 1) private and 2) not present at runtime. Private names are often used for stub-only constructs (which we don't want stubtest to complain about), bu...

X Description: Currently, stubtest ignores symbols that are 1) private and 2) not present at runtime. Private names are often used for stub-only constructs (which we don't want stubtest to complain about)...

Opengraph URL: https://github.com/python/mypy/pull/19574

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:a99e1e53-2e95-41ba-dc32-812a346e961f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEC90:1756E4:172E24C:1E8B585:6B002369
html-safe-nonce62da39f57e9a020909d08b77168453e36bced1f055ab822e1436a199d9c888aa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzkwOjE3NTZFNDoxNzJFMjRDOjFFOEI1ODU6NkIwMDIzNjkiLCJ2aXNpdG9yX2lkIjoiNTkyNzY0MDYzMDc5OTkwMTU0NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1a0e9a087c79f5460bb5b2b1568a1913afec2394dc5300d6283d7e3472ad80bd
hovercard-subject-tagpull_request:2715229720
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/mypy/19574/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/583e1bfb7b995a6bba02f43e0eaee3fcb03a232549587d82e9a2235a67225e80/python/mypy/pull/19574
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/583e1bfb7b995a6bba02f43e0eaee3fcb03a232549587d82e9a2235a67225e80/python/mypy/pull/19574
og:image:altCurrently, stubtest ignores symbols that are 1) private and 2) not present at runtime. Private names are often used for stub-only constructs (which we don't want stubtest to complain about), bu...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrianschubert
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
turbo-cache-controlno-cache
go-importgithub.com/python/mypy git https://github.com/python/mypy.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id7053637
octolytics-dimension-repository_nwopython/mypy
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7053637
octolytics-dimension-repository_network_root_nwopython/mypy
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/mypy/pull/19574#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fmypy%2Fpull%2F19574
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%2Fmypy%2Fpull%2F19574
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%2Fmypy
Reloadhttps://github.com/python/mypy/pull/19574
Reloadhttps://github.com/python/mypy/pull/19574
Reloadhttps://github.com/python/mypy/pull/19574
pythonhttps://github.com/python
mypyhttps://github.com/python/mypy
Codehttps://github.com/python/mypy
Issues2.7k (2.7k)https://github.com/python/mypy/issues
Pull requests546 (546)https://github.com/python/mypy/pulls
Actionshttps://github.com/python/mypy/actions
Projectshttps://github.com/python/mypy/projects
Wikihttps://github.com/python/mypy/wiki
Security and qualityhttps://github.com/python/mypy/security
Insightshttps://github.com/python/mypy/insights
https://github.com/python/mypy
hauntsaninjahttps://github.com/hauntsaninja
python:masterhttps://github.com/python/mypy/tree/master
brianschubert:stubtest-private-typecheckonlyhttps://github.com/brianschubert/mypy/tree/stubtest-private-typecheckonly
Conversationhttps://github.com/python/mypy/pull/19574
Commits11 (11)https://github.com/python/mypy/pull/19574/commits
Checkshttps://github.com/python/mypy/pull/19574/checks
Files changedhttps://github.com/python/mypy/pull/19574/files
[stubtest] Check runtime availability of private types not marked @type_check_onlyhttps://github.com/python/mypy/pull/19574#top
hauntsaninjahttps://github.com/hauntsaninja
python:masterhttps://github.com/python/mypy/tree/master
brianschubert:stubtest-private-typecheckonlyhttps://github.com/brianschubert/mypy/tree/stubtest-private-typecheckonly
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Aug 2, 2025https://github.com/python/mypy/pull/19574#issue-3286214966
Please reload this pagehttps://github.com/python/mypy/pull/19574
Please reload this pagehttps://github.com/python/mypy/pull/19574
https://github.com/brianschubert
Check runtime availability of private types not marked @type_check_onlyhttps://github.com/python/mypy/pull/19574/commits/a9a2901a9f506bdab32003b8ace6e4c77bdecba2
a9a2901https://github.com/python/mypy/pull/19574/commits/a9a2901a9f506bdab32003b8ace6e4c77bdecba2
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Aug 2, 2025 https://github.com/python/mypy/pull/19574#ref-pullrequest-3286219196
Add @type_check_only to stub-only private classes in stdlib python/typeshed#14512 https://github.com/python/typeshed/pull/14512
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Aug 2, 2025https://github.com/python/mypy/pull/19574#issuecomment-3146690767
python/typeshed#14512https://github.com/python/typeshed/pull/14512
https://github.com/brianschubert/typeshed/actions/runs/16697076815/https://github.com/brianschubert/typeshed/actions/runs/16697076815/
Please reload this pagehttps://github.com/python/mypy/pull/19574
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Aug 3, 2025https://github.com/python/mypy/pull/19574#issuecomment-3148606877
Please reload this pagehttps://github.com/python/mypy/pull/19574
Please reload this pagehttps://github.com/python/mypy/pull/19574
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Aug 6, 2025https://github.com/python/mypy/pull/19574#issuecomment-3160372074
Please reload this pagehttps://github.com/python/mypy/pull/19574
python/typeshed#14545https://github.com/python/typeshed/pull/14545
Please reload this pagehttps://github.com/python/mypy/pull/19574
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
August 6, 2025 14:17https://github.com/python/mypy/pull/19574#event-19014472087
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
topic-stubtest https://github.com/python/mypy/issues?q=state%3Aopen%20label%3Atopic-stubtest
Aug 6, 2025https://github.com/python/mypy/pull/19574#event-19017692750
https://github.com/Avasam
Avasamhttps://github.com/Avasam
Aug 6, 2025https://github.com/python/mypy/pull/19574#issuecomment-3161025471
Please reload this pagehttps://github.com/python/mypy/pull/19574
#15146https://github.com/python/mypy/issues/15146
Please reload this pagehttps://github.com/python/mypy/pull/19574
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Aug 7, 2025 https://github.com/python/mypy/pull/19574#ref-pullrequest-3301935745
Mark stub-only private symbols as @type_check_only in third-party stubs python/typeshed#14545 https://github.com/python/typeshed/pull/14545
brianschuberthttps://github.com/brianschubert
August 23, 2025 10:41https://github.com/python/mypy/pull/19574#commits-pushed-75c05a2
https://github.com/brianschubert
Merge branch 'master' into stubtest-private-typecheckonlyhttps://github.com/python/mypy/pull/19574/commits/75c05a2a81ecfaea957cad8f845d63f816e3cb53
75c05a2https://github.com/python/mypy/pull/19574/commits/75c05a2a81ecfaea957cad8f845d63f816e3cb53
https://github.com/brianschubert
Update new test from masterhttps://github.com/python/mypy/pull/19574/commits/9cb8ba69ca925efa323063f80d59a069c48cbd2f
9cb8ba6https://github.com/python/mypy/pull/19574/commits/9cb8ba69ca925efa323063f80d59a069c48cbd2f
https://github.com/brianschubert
Merge branch 'master' into stubtest-private-typecheckonlyhttps://github.com/python/mypy/pull/19574/commits/d831d78bf26915ae1ddcf78ae16a4eb89a6df328
d831d78https://github.com/python/mypy/pull/19574/commits/d831d78bf26915ae1ddcf78ae16a4eb89a6df328
https://github.com/brianschubert
Fix false negatives due to -redefinition symbols in NamedTupleshttps://github.com/python/mypy/pull/19574/commits/565e42fe808c2e6e0e8ec9728f7a63555d586236
565e42fhttps://github.com/python/mypy/pull/19574/commits/565e42fe808c2e6e0e8ec9728f7a63555d586236
https://github.com/brianschubert
Merge branch 'master' into stubtest-private-typecheckonlyhttps://github.com/python/mypy/pull/19574/commits/86c00d30895fdb8e15d7d80404663ce6d5772d2d
86c00d3https://github.com/python/mypy/pull/19574/commits/86c00d30895fdb8e15d7d80404663ce6d5772d2d
https://github.com/brianschubert
Update new test cases from masterhttps://github.com/python/mypy/pull/19574/commits/65758a3322a66bb86533109c065a5383809813b4
65758a3https://github.com/python/mypy/pull/19574/commits/65758a3322a66bb86533109c065a5383809813b4
[pywin32] Mark stub-only NamedTuples as @type_check_only python/typeshed#15514 https://github.com/python/typeshed/pull/15514
Add @type_check_only to stub-only private classes in stdlib, round 2 python/typeshed#15515 https://github.com/python/typeshed/pull/15515
[cachetools] Add @type_check_only to stub-only private classes python/typeshed#15516 https://github.com/python/typeshed/pull/15516
stubtest: basic support for unpack kwargs #21024 https://github.com/python/mypy/pull/21024
https://github.com/brianschubert
Remove handling for NamedTuples with non-identifier fields, more testshttps://github.com/python/mypy/pull/19574/commits/c1ccdd114ac7c5fd2ad1ab22f9135e7f30c8b13a
c1ccdd1https://github.com/python/mypy/pull/19574/commits/c1ccdd114ac7c5fd2ad1ab22f9135e7f30c8b13a
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Mar 19, 2026 https://github.com/python/mypy/pull/19574#pullrequestreview-3972873175
View reviewed changes https://github.com/python/mypy/pull/19574/files/c1ccdd114ac7c5fd2ad1ab22f9135e7f30c8b13a
hauntsaninjahttps://github.com/hauntsaninja
https://github.com/python/mypy/pull/19574#pullrequestreview-3972873175
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19574
https://github.com/brianschubert
Add --strict-type-check-only flaghttps://github.com/python/mypy/pull/19574/commits/c3908a923b3f9afd8bbc57418f294330e146ea19
c3908a9https://github.com/python/mypy/pull/19574/commits/c3908a923b3f9afd8bbc57418f294330e146ea19
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Mar 20, 2026https://github.com/python/mypy/pull/19574#issuecomment-4094526491
Please reload this pagehttps://github.com/python/mypy/pull/19574
https://github.com/brianschubert
Set --strict-type-check-only in testshttps://github.com/python/mypy/pull/19574/commits/f676b3d9944f1b4941959538c7dce983b91a17f8
f676b3dhttps://github.com/python/mypy/pull/19574/commits/f676b3d9944f1b4941959538c7dce983b91a17f8
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Mar 20, 2026 https://github.com/python/mypy/pull/19574#pullrequestreview-3980017024
View reviewed changes https://github.com/python/mypy/pull/19574/files/f676b3d9944f1b4941959538c7dce983b91a17f8
mypy/stubtest.pyhttps://github.com/python/mypy/pull/19574/files/f676b3d9944f1b4941959538c7dce983b91a17f8#diff-55639a1f38efeacbb10988649399037c13ad11e9c82890b453d98ea2bed9caf8
Please reload this pagehttps://github.com/python/mypy/pull/19574
https://github.com/brianschubert
Fix filter orderhttps://github.com/python/mypy/pull/19574/commits/e521e6e9098761063884e977792119a0cf482cc6
e521e6ehttps://github.com/python/mypy/pull/19574/commits/e521e6e9098761063884e977792119a0cf482cc6
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Mar 20, 2026 https://github.com/python/mypy/pull/19574#pullrequestreview-3984470124
View reviewed changes https://github.com/python/mypy/pull/19574/files/e521e6e9098761063884e977792119a0cf482cc6
hauntsaninjahttps://github.com/hauntsaninja
https://github.com/python/mypy/pull/19574#pullrequestreview-3984470124
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/mypy/pull/19574
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
67ada30https://github.com/python/mypy/commit/67ada30918d1a32e1935e9ac468113e0aa002b79
Mar 26, 2026https://github.com/python/mypy/pull/19574#event-23913374845
Please reload this pagehttps://github.com/python/mypy/pull/19574
https://github.com/Avasam
Avasamhttps://github.com/Avasam
Mar 30, 2026 https://github.com/python/mypy/pull/19574#ref-issue-2795638966
TC001, TC002, TC003 - documentation mentions import cycles which is misleading astral-sh/ruff#15552 https://github.com/astral-sh/ruff/issues/15552
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Apr 4, 2026 https://github.com/python/mypy/pull/19574#ref-pullrequest-4205043422
Run stubtest with --strict-type-check-only python/typeshed#15604 https://github.com/python/typeshed/pull/15604
https://github.co/hiddenchars
https://github.com/python/mypy/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%2Fmypy%2Fpull%2F19574
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/python/mypy/pull/19574/files/e521e6e9098761063884e977792119a0cf482cc6
Please reload this pagehttps://github.com/python/mypy/pull/19574
topic-stubtest https://github.com/python/mypy/issues?q=state%3Aopen%20label%3Atopic-stubtest
Please reload this pagehttps://github.com/python/mypy/pull/19574
https://github.com/brianschubert
https://github.com/Avasam
https://github.com/hauntsaninja
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.