René's URL Explorer Experiment


Title: add overload to tuple.__new__ to better express an empty tuple by xavdid · Pull Request #7454 · python/typeshed · GitHub

Open Graph Title: add overload to tuple.__new__ to better express an empty tuple by xavdid · Pull Request #7454 · python/typeshed

X Title: add overload to tuple.__new__ to better express an empty tuple by xavdid · Pull Request #7454 · python/typeshed

Description: Collection of library stubs for Python, with static types - add overload to tuple.__new__ to better express an empty tuple by xavdid · Pull Request #7454 · python/typeshed

Open Graph Description: This PR adds an overload to the tuple() constructor to specify that an empty tuple is returned, not Tuple[Any]. It covers the following code snippet (using the Pylance type checker): from typing im...

X Description: This PR adds an overload to the tuple() constructor to specify that an empty tuple is returned, not Tuple[Any]. It covers the following code snippet (using the Pylance type checker): from typing im...

Opengraph URL: https://github.com/python/typeshed/pull/7454

X: @github

direct link

Domain: github.com

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:942d1cdf-76f4-e123-4366-2960e8a00fa8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA7B4:2337A:1FD013F:2E6AAFB:6A60C0DE
html-safe-nonceafadf6198d4dbb9bbcf29ff942fd08e117d9bcbcefce833eb5ba409f9a5f24b6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0I0OjIzMzdBOjFGRDAxM0Y6MkU2QUFGQjo2QTYwQzBERSIsInZpc2l0b3JfaWQiOiI4Njk4MDE5NzY5OTYwMDYwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7de37d2e58697078a05ddd598ce572c2a7bc8bfd998e9078f8f95e965501ae1b
hovercard-subject-tagpull_request:873544779
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/typeshed/7454/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3d8c785398fc3e201d16042ebf37b7f23f31f561783f55def2920145ff4d09f8/python/typeshed/pull/7454
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3d8c785398fc3e201d16042ebf37b7f23f31f561783f55def2920145ff4d09f8/python/typeshed/pull/7454
og:image:altThis PR adds an overload to the tuple() constructor to specify that an empty tuple is returned, not Tuple[Any]. It covers the following code snippet (using the Pylance type checker): from typing im...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamexavdid
hostnamegithub.com
expected-hostnamegithub.com
Nonee30aeaafb59b2438b8b0aaa24f4c6777e8e86dae0737625adfc928cac5443cd5
turbo-cache-controlno-cache
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
release34b43e23ce2dc970fbfce25d0e96500f2af8266d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typeshed/pull/7454#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F7454
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F7454
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%2Ftypeshed
Reloadhttps://github.com/python/typeshed/pull/7454
Reloadhttps://github.com/python/typeshed/pull/7454
Reloadhttps://github.com/python/typeshed/pull/7454
Please reload this pagehttps://github.com/python/typeshed/pull/7454
python https://github.com/python
typeshedhttps://github.com/python/typeshed
Please reload this pagehttps://github.com/python/typeshed/pull/7454
Notifications https://github.com/login?return_to=%2Fpython%2Ftypeshed
Fork 2.1k https://github.com/login?return_to=%2Fpython%2Ftypeshed
Star 5.1k https://github.com/login?return_to=%2Fpython%2Ftypeshed
Code https://github.com/python/typeshed
Issues 221 https://github.com/python/typeshed/issues
Pull requests 146 https://github.com/python/typeshed/pulls
Actions https://github.com/python/typeshed/actions
Security and quality 0 https://github.com/python/typeshed/security
Insights https://github.com/python/typeshed/pulse
Code https://github.com/python/typeshed
Issues https://github.com/python/typeshed/issues
Pull requests https://github.com/python/typeshed/pulls
Actions https://github.com/python/typeshed/actions
Security and quality https://github.com/python/typeshed/security
Insights https://github.com/python/typeshed/pulse
JelleZijlstrahttps://github.com/JelleZijlstra
python:masterhttps://github.com/python/typeshed/tree/master
Conversationhttps://github.com/python/typeshed/pull/7454
Commits4 (4)https://github.com/python/typeshed/pull/7454/commits
Checkshttps://github.com/python/typeshed/pull/7454/checks
Files changedhttps://github.com/python/typeshed/pull/7454/files
add overload to tuple.__new__ to better express an empty tuplehttps://github.com/python/typeshed/pull/7454#top
JelleZijlstrahttps://github.com/JelleZijlstra
python:masterhttps://github.com/python/typeshed/tree/master
https://github.com/xavdid
xavdidhttps://github.com/xavdid
Mar 7, 2022https://github.com/python/typeshed/pull/7454#issue-1161908938
microsoft/pylance-release#2445 (comment)https://github.com/microsoft/pylance-release/issues/2445#issuecomment-1059993607
Please reload this pagehttps://github.com/python/typeshed/pull/7454
https://github.com/xavdid
add overload to tuple.__new__ to better express an empty tuplehttps://github.com/python/typeshed/pull/7454/commits/9e6fda08b12f60d3981236200885b0c95958ff86
9e6fda0https://github.com/python/typeshed/pull/7454/commits/9e6fda08b12f60d3981236200885b0c95958ff86
https://github.com/xavdid
xavdidhttps://github.com/xavdid
Mar 7, 2022https://github.com/python/typeshed/pull/7454#issuecomment-1061125916
Please reload this pagehttps://github.com/python/typeshed/pull/7454
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F7454
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Mar 7, 2022 https://github.com/python/typeshed/pull/7454#pullrequestreview-902251992
View reviewed changes https://github.com/python/typeshed/pull/7454/files/9e6fda08b12f60d3981236200885b0c95958ff86
stdlib/builtins.pyihttps://github.com/python/typeshed/pull/7454/files/9e6fda08b12f60d3981236200885b0c95958ff86#diff-1580ddf7dc331234b0845ffb953b6f7a5f1e9afa15048ebc0762226a08f194b4
Please reload this pagehttps://github.com/python/typeshed/pull/7454
https://github.com/xavdid
remove default from iterable in one of the call signatureshttps://github.com/python/typeshed/pull/7454/commits/1514582cfa6f13a4d05df4f5c1f970398447bf6a
1514582https://github.com/python/typeshed/pull/7454/commits/1514582cfa6f13a4d05df4f5c1f970398447bf6a
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F7454
https://github.com/srittau
srittauhttps://github.com/srittau
Mar 8, 2022https://github.com/python/typeshed/pull/7454#issuecomment-1061490888
Please reload this pagehttps://github.com/python/typeshed/pull/7454
https://github.com/xavdid
reorder overloads; add commenthttps://github.com/python/typeshed/pull/7454/commits/d556d1701714f615134de20d7f5ee8bebf7db884
d556d17https://github.com/python/typeshed/pull/7454/commits/d556d1701714f615134de20d7f5ee8bebf7db884
https://github.com/xavdid
xavdidhttps://github.com/xavdid
Mar 8, 2022https://github.com/python/typeshed/pull/7454#issuecomment-1061501357
d556d17https://github.com/python/typeshed/commit/d556d1701714f615134de20d7f5ee8bebf7db884
Please reload this pagehttps://github.com/python/typeshed/pull/7454
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F7454
https://github.com/xavdid
xavdidhttps://github.com/xavdid
Mar 8, 2022https://github.com/python/typeshed/pull/7454#issuecomment-1061515476
Please reload this pagehttps://github.com/python/typeshed/pull/7454
https://github.com/srittau
srittauhttps://github.com/srittau
Mar 8, 2022https://github.com/python/typeshed/pull/7454#issuecomment-1061666579
@JukkaLhttps://github.com/JukkaL
@hauntsaninjahttps://github.com/hauntsaninja
Please reload this pagehttps://github.com/python/typeshed/pull/7454
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Mar 8, 2022https://github.com/python/typeshed/pull/7454#issuecomment-1062249171
Please reload this pagehttps://github.com/python/typeshed/pull/7454
Please reload this pagehttps://github.com/python/typeshed/pull/7454
https://github.com/xavdid
xavdidhttps://github.com/xavdid
Mar 8, 2022https://github.com/python/typeshed/pull/7454#issuecomment-1062255805
Please reload this pagehttps://github.com/python/typeshed/pull/7454
hauntsaninjahttps://github.com/hauntsaninja
Mar 9, 2022 https://github.com/python/typeshed/pull/7454#ref-commit-85f6001
Fix proper_plugin for typeshed tuple changehttps://github.com/hauntsaninja/mypy/commit/85f6001c06cc779512d6eed268df52e75ee4fc7e
85f6001https://github.com/hauntsaninja/mypy/commit/85f6001c06cc779512d6eed268df52e75ee4fc7e
python/typeshed#7454https://github.com/python/typeshed/pull/7454
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Mar 9, 2022 https://github.com/python/typeshed/pull/7454#ref-pullrequest-1163582061
Fix proper_plugin for typeshed tuple change python/mypy#12319 https://github.com/python/mypy/pull/12319
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Mar 9, 2022https://github.com/python/typeshed/pull/7454#issuecomment-1062627364
Please reload this pagehttps://github.com/python/typeshed/pull/7454
python/mypy#12319https://github.com/python/mypy/pull/12319
python/mypy#12320https://github.com/python/mypy/issues/12320
Please reload this pagehttps://github.com/python/typeshed/pull/7454
JukkaLhttps://github.com/JukkaL
Mar 9, 2022 https://github.com/python/typeshed/pull/7454#ref-commit-47e2ca8
https://github.com/hauntsaninja
Fix proper_plugin for typeshed tuple change (https://github.com/python/mypy/commit/47e2ca8f54a0f72596e429c820cd9674a215f827
#12319https://github.com/python/mypy/pull/12319
)https://github.com/python/mypy/commit/47e2ca8f54a0f72596e429c820cd9674a215f827
47e2ca8https://github.com/python/mypy/commit/47e2ca8f54a0f72596e429c820cd9674a215f827
python/typeshed#7454https://github.com/python/typeshed/pull/7454
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Mar 9, 2022https://github.com/python/typeshed/pull/7454#issuecomment-1063032395
Please reload this pagehttps://github.com/python/typeshed/pull/7454
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Mar 9, 2022https://github.com/python/typeshed/pull/7454#issuecomment-1063055227
Please reload this pagehttps://github.com/python/typeshed/pull/7454
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Apr 3, 2022https://github.com/python/typeshed/pull/7454#issuecomment-1086757653
Please reload this pagehttps://github.com/python/typeshed/pull/7454
x = tuple() # type: Tuple[()] Incompatible types in assignment mypy#6283https://github.com/python/mypy/issues/6283
Please reload this pagehttps://github.com/python/typeshed/pull/7454
https://github.com/AlexWaygood
Merge branch 'master' into masterhttps://github.com/python/typeshed/pull/7454/commits/6cf48362decd29fec83d86c3b1375cc13766da43
6cf4836https://github.com/python/typeshed/pull/7454/commits/6cf48362decd29fec83d86c3b1375cc13766da43
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
May 31, 2022https://github.com/python/typeshed/pull/7454#issuecomment-1142736219
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/7454
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Jul 2, 2022https://github.com/python/typeshed/pull/7454#issuecomment-1172919251
Please reload this pagehttps://github.com/python/typeshed/pull/7454
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
JelleZijlstrahttps://github.com/JelleZijlstra
July 3, 2022 14:11https://github.com/python/typeshed/pull/7454#event-6923360628
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jul 6, 2022 https://github.com/python/typeshed/pull/7454#pullrequestreview-1029344686
View reviewed changes https://github.com/python/typeshed/pull/7454/files/6cf48362decd29fec83d86c3b1375cc13766da43
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
64554bdhttps://github.com/python/typeshed/commit/64554bdd5de740cb49a5ecaa5f44b5af876751be
Jul 6, 2022https://github.com/python/typeshed/pull/7454#event-6938336219
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jul 8, 2022 https://github.com/python/typeshed/pull/7454#ref-pullrequest-1299294798
Sync typeshed python/mypy#13097 https://github.com/python/mypy/pull/13097
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jul 12, 2022 https://github.com/python/typeshed/pull/7454#ref-issue-1301747855
Recent change to tuple constructor breaks subclasses of tuples #8275 https://github.com/python/typeshed/issues/8275
JelleZijlstrahttps://github.com/JelleZijlstra
Jul 12, 2022 https://github.com/python/typeshed/pull/7454#ref-commit-d42c0fc
https://github.com/JelleZijlstra
Revert "add overload to tuple.__new__ to better express an empty tuple (https://github.com/python/typeshed/commit/d42c0fcd3f31ec9daa297c99af3368d7a6bd0efa
d42c0fchttps://github.com/python/typeshed/commit/d42c0fcd3f31ec9daa297c99af3368d7a6bd0efa
#7454https://github.com/python/typeshed/pull/7454
64554bdhttps://github.com/python/typeshed/commit/64554bdd5de740cb49a5ecaa5f44b5af876751be
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Jul 12, 2022 https://github.com/python/typeshed/pull/7454#ref-pullrequest-1302033217
Revert "add overload to tuple.__new__ to better express an empty tuple" #8278 https://github.com/python/typeshed/pull/8278
https://github.co/hiddenchars
https://github.com/python/typeshed/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%2Ftypeshed%2Fpull%2F7454
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/typeshed/pull/7454/files/6cf48362decd29fec83d86c3b1375cc13766da43
Please reload this pagehttps://github.com/python/typeshed/pull/7454
https://github.com/xavdid
https://github.com/srittau
https://github.com/hauntsaninja
https://github.com/JelleZijlstra
https://github.com/AlexWaygood
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.