René's URL Explorer Experiment


Title: Remove type checker-specific symbols from builtins.pyi and typing.pyi · Issue #7580 · python/typeshed · GitHub

Open Graph Title: Remove type checker-specific symbols from builtins.pyi and typing.pyi · Issue #7580 · python/typeshed

X Title: Remove type checker-specific symbols from builtins.pyi and typing.pyi · Issue #7580 · python/typeshed

Description: I'm working to get rid of the type checker-specific symbols that currently are in our core stubs but don't exist at runtime. I'll use this issue to track the work needed. This involves changes both to typeshed and to type checkers. Affec...

Open Graph Description: I'm working to get rid of the type checker-specific symbols that currently are in our core stubs but don't exist at runtime. I'll use this issue to track the work needed. This involves changes both...

X Description: I'm working to get rid of the type checker-specific symbols that currently are in our core stubs but don't exist at runtime. I'll use this issue to track the work needed. This involves ...

Opengraph URL: https://github.com/python/typeshed/issues/7580

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove type checker-specific symbols from builtins.pyi and typing.pyi","articleBody":"I'm working to get rid of the type checker-specific symbols that currently are in our core stubs but don't exist at runtime. I'll use this issue to track the work needed. This involves changes both to typeshed and to type checkers.\r\n\r\nAffected names:\r\n* `typing._TypedDict`. Suggesting to rename to `_typeshed.TypedDictFallback`. (mypy and pyright)\r\n* `typing._promote` -> `_typeshed._promote` (mypy only)\r\n* `typing.AwaitableGenerator` -> `_typeshed.AwaitableGenerator` (mypy and pyright)\r\n* `builtins.function` (mypy and pyright). Need to look more into why we can't just use `types.FunctionType`.\r\n  * Working on this in mypy but it requires updating a ton of test cases \r\n* `builtins.ellipsis` (mypy and pyright). Should add a new name to _typeshed, similar to `NoneType`.\r\n\r\n`builtins.module` was also mentioned in the past but it's been fixed already (mypy PR: https://github.com/python/mypy/pull/3107).\r\n\r\nLinked issues and PRs:\r\n- #2999\r\n- #3556\r\n- #3932\r\n- python/mypy#11564\r\n- python/mypy#8240\r\n- https://github.com/python/mypy/issues/2765\r\n- https://github.com/python/mypy/issues/8699","author":{"url":"https://github.com/JelleZijlstra","@type":"Person","name":"JelleZijlstra"},"datePublished":"2022-04-03T00:27:01Z","url":"https://github.com/python/typeshed/issues/7580"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:3c8ad3ce-86d4-7b01-4f81-a66d83787ca5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB798:07D0:201989F:2A81237:6B004D04
html-safe-nonce24c579a1b75eb64453579be97dccdea0c878bce54a0bc5fea688d5940cecabbc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzk4OjA3RDA6MjAxOTg5RjoyQTgxMjM3OjZCMDA0RDA0IiwidmlzaXRvcl9pZCI6IjcxMDc0NDc3NTg4MDEzNTgwODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacddcbcfaa626444d9e8ee146fdb9727e82b20901d7db17ba7c0912220648e4c06
hovercard-subject-tagissue:1190773255
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/typeshed/7580/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c1800d2f9a2f667cb67a1849e482a075171c5c357176b46b249fcfe49c9e403d/python/typeshed/issues/7580
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c1800d2f9a2f667cb67a1849e482a075171c5c357176b46b249fcfe49c9e403d/python/typeshed/issues/7580
og:image:altI'm working to get rid of the type checker-specific symbols that currently are in our core stubs but don't exist at runtime. I'll use this issue to track the work needed. This involves changes both...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJelleZijlstra
hostnamegithub.com
expected-hostnamegithub.com
Nonef9517bf360d46638a1e5e7daee7158842fe5ef43c9000afa0e127564a7c2f39b
turbo-cache-controlno-preview
go-importgithub.com/python/typeshed git https://github.com/python/typeshed.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id31696383
octolytics-dimension-repository_nwopython/typeshed
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id31696383
octolytics-dimension-repository_network_root_nwopython/typeshed
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
releaseb27c5dde30676028abd5c5fc53ce5c9b625f8281
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/typeshed/issues/7580#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fissues%2F7580
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%2Ftypeshed%2Fissues%2F7580
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Ftypeshed
Reloadhttps://github.com/python/typeshed/issues/7580
Reloadhttps://github.com/python/typeshed/issues/7580
Reloadhttps://github.com/python/typeshed/issues/7580
pythonhttps://github.com/python
typeshedhttps://github.com/python/typeshed
Codehttps://github.com/python/typeshed
Issues196 (196)https://github.com/python/typeshed/issues
Pull requests252 (252)https://github.com/python/typeshed/pulls
Actionshttps://github.com/python/typeshed/actions
Security and qualityhttps://github.com/python/typeshed/security
Insightshttps://github.com/python/typeshed/insights
https://github.com/python/typeshed
New issuehttps://github.com/login?return_to=https://github.com/python/typeshed/issues/7580
New issuehttps://github.com/login?return_to=https://github.com/python/typeshed/issues/7580
Remove type checker-specific symbols from builtins.pyi and typing.pyihttps://github.com/python/typeshed/issues/7580#top
stubs: improvementImprove/refactor existing annotations, other stubs issueshttps://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22stubs%3A%20improvement%22
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
on Apr 3, 2022https://github.com/python/typeshed/issues/7580#issue-1190773255
python/mypy#3107https://github.com/python/mypy/pull/3107
Remove function from builtins #2999https://github.com/python/typeshed/issues/2999
class ellipsis is public but shouldn't #3556https://github.com/python/typeshed/issues/3556
Remove typing.AwaitableGenerator #3932https://github.com/python/typeshed/issues/3932
update ellipsis type mypy#11564https://github.com/python/mypy/pull/11564
Don't use builtins.function and others anymore mypy#8240https://github.com/python/mypy/issues/8240
Mypy crashes if there is no 'function' or 'module' in builtins mypy#2765https://github.com/python/mypy/issues/2765
Remove typing.AwaitableGenerator from typeshed mypy#8699https://github.com/python/mypy/issues/8699
srittauhttps://github.com/srittau
srittauhttps://github.com/srittau
on May 11, 2025https://github.com/python/typeshed/issues/7580#issuecomment-2869897574
https://discuss.python.org/t/removing-type-checker-internals-from-typeshed/87960/2https://discuss.python.org/t/removing-type-checker-internals-from-typeshed/87960/2
#15712https://github.com/python/typeshed/pull/15712
#14957https://github.com/python/typeshed/pull/14957
#14958https://github.com/python/typeshed/pull/14958
#14959https://github.com/python/typeshed/pull/14959
#14960https://github.com/python/typeshed/pull/14960
View full comment https://github.com/python/typeshed/issues/7580#issuecomment-2869897574
Nexthttps://github.com/python/typeshed/issues/7580?timeline_page=1
JelleZijlstrahttps://github.com/JelleZijlstra
on Apr 3, 2022https://github.com/python/typeshed/issues/7580#event-6357565776
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
on Apr 3, 2022https://github.com/python/typeshed/issues/7580#issuecomment-1086749343
Callable has no attribute __kwdefaults__ mypy#5958https://github.com/python/mypy/issues/5958
Add missing function attributes to builtins.function #6804https://github.com/python/typeshed/pull/6804
AlexWaygoodhttps://github.com/AlexWaygood
size-largehttps://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22size-large%22
on Jun 12, 2022https://github.com/python/typeshed/issues/7580#event-6791594195
srittauhttps://github.com/srittau
stubs: improvementImprove/refactor existing annotations, other stubs issueshttps://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22stubs%3A%20improvement%22
size-largehttps://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22size-large%22
on Mar 23, 2024https://github.com/python/typeshed/issues/7580#event-12224206667
srittauhttps://github.com/srittau
Remove typing.AwaitableGenerator #13804https://github.com/python/typeshed/issues/13804
on Apr 11, 2025https://github.com/python/typeshed/issues/7580#event-17222034430
srittauhttps://github.com/srittau
on Apr 11, 2025https://github.com/python/typeshed/issues/7580#event-17222561759
Copy typechecker-internal symbols to `_typeshed._tc`https://github.com/srittau/typeshed/commit/f97f62ebe196c30f9ad70d3a9798cfb51cfe6d96
f97f62ehttps://github.com/srittau/typeshed/commit/f97f62ebe196c30f9ad70d3a9798cfb51cfe6d96
https://github.com/srittau
srittauhttps://github.com/srittau
on Apr 11, 2025https://github.com/python/typeshed/issues/7580#issuecomment-2796707477
#13816https://github.com/python/typeshed/pull/13816
#13782https://github.com/python/typeshed/issues/13782
https://github.com/srittau
srittauhttps://github.com/srittau
on Apr 11, 2025https://github.com/python/typeshed/issues/7580#issuecomment-2796769621
https://discuss.python.org/t/removing-type-checker-internals-from-typeshed/87960https://discuss.python.org/t/removing-type-checker-internals-from-typeshed/87960
https://github.com/srittau
srittauhttps://github.com/srittau
on Apr 11, 2025https://github.com/python/typeshed/issues/7580#issuecomment-2797307032
#13816https://github.com/python/typeshed/pull/13816
https://github.com/erictraut
erictrauthttps://github.com/erictraut
on Apr 11, 2025https://github.com/python/typeshed/issues/7580#issuecomment-2797320782
https://github.com/srittau
srittauhttps://github.com/srittau
on Apr 11, 2025https://github.com/python/typeshed/issues/7580#issuecomment-2797335696
JelleZijlstrahttps://github.com/JelleZijlstra
on Apr 11, 2025https://github.com/python/typeshed/issues/7580#event-17226612447
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
on Apr 11, 2025https://github.com/python/typeshed/issues/7580#issuecomment-2797394361
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
on Apr 11, 2025https://github.com/python/typeshed/issues/7580#issuecomment-2797397417
@erictrauthttps://github.com/erictraut
python/mypy#8240 (comment)https://github.com/python/mypy/issues/8240#issuecomment-1086372894
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
on May 12, 2025https://github.com/python/typeshed/issues/7580#issuecomment-2870685002
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
on May 12, 2025https://github.com/python/typeshed/issues/7580#issuecomment-2870864889
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
on May 12, 2025https://github.com/python/typeshed/issues/7580#issuecomment-2870865451
https://github.com/erictraut
erictrauthttps://github.com/erictraut
on May 17, 2025https://github.com/python/typeshed/issues/7580#issuecomment-2888048469
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
on May 17, 2025https://github.com/python/typeshed/issues/7580#issuecomment-2888457871
@erictrauthttps://github.com/erictraut
https://discuss.python.org/t/removing-type-checker-internals-from-typeshed/87960/4https://discuss.python.org/t/removing-type-checker-internals-from-typeshed/87960/4
srittauhttps://github.com/srittau
on Nov 1, 2025https://github.com/python/typeshed/issues/7580#event-20652232528
Remove builtins.functionhttps://github.com/srittau/typeshed/commit/19d7fb74bc246254cd60b5425bc0c8f6cf4e93b2
19d7fb7https://github.com/srittau/typeshed/commit/19d7fb74bc246254cd60b5425bc0c8f6cf4e93b2
Remove typing._promotehttps://github.com/srittau/typeshed/commit/d7aaf442f022af2979342d271a667efeba82592d
d7aaf44https://github.com/srittau/typeshed/commit/d7aaf442f022af2979342d271a667efeba82592d
Remove typing.AwaitableGeneratorhttps://github.com/srittau/typeshed/commit/1ed616e124e01ff6be11ac0d9a2d44e4832bc73d
1ed616ehttps://github.com/srittau/typeshed/commit/1ed616e124e01ff6be11ac0d9a2d44e4832bc73d
Remove typing._TypedDicthttps://github.com/srittau/typeshed/commit/661dcef02b73f157a68ac8fe058d473d573e0444
661dcefhttps://github.com/srittau/typeshed/commit/661dcef02b73f157a68ac8fe058d473d573e0444
https://github.com/srittau
srittauhttps://github.com/srittau
on Nov 1, 2025https://github.com/python/typeshed/issues/7580#issuecomment-3476408236
Remove builtins.function #14957https://github.com/python/typeshed/pull/14957
Remove typing._promote #14958https://github.com/python/typeshed/pull/14958
Remove typing.AwaitableGenerator #14959https://github.com/python/typeshed/pull/14959
Remove typing._TypedDict #14960https://github.com/python/typeshed/pull/14960
pyright still depends on typing._TypedDict microsoft/pyright#11081https://github.com/microsoft/pyright/issues/11081
hauntsaninjahttps://github.com/hauntsaninja
on Nov 3, 2025https://github.com/python/typeshed/issues/7580#event-20668759515
Remove typing._promote (#14958)https://github.com/python/typeshed/commit/ce3094cc5ee8ceea91ebbd0efed581bc8a338cd5
#14958https://github.com/python/typeshed/pull/14958
ce3094chttps://github.com/python/typeshed/commit/ce3094cc5ee8ceea91ebbd0efed581bc8a338cd5
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
on Nov 3, 2025https://github.com/python/typeshed/issues/7580#issuecomment-3479397817
https://github.com/srittau
srittauhttps://github.com/srittau
on Nov 3, 2025https://github.com/python/typeshed/issues/7580#issuecomment-3479674920
@hauntsaninjahttps://github.com/hauntsaninja
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
on Nov 3, 2025https://github.com/python/typeshed/issues/7580#issuecomment-3479696348
https://github.com/hamdanal
hamdanalhttps://github.com/hamdanal
on Aug 29, 2026https://github.com/python/typeshed/issues/7580#issuecomment-5463677261
@hauntsaninjahttps://github.com/hauntsaninja
python/mypy#21911https://github.com/python/mypy/pull/21911
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/typeshed/issues/7580
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/typeshed/issues/7580
stubs: improvementImprove/refactor existing annotations, other stubs issueshttps://github.com/python/typeshed/issues?q=state%3Aopen%20label%3A%22stubs%3A%20improvement%22
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.