René's URL Explorer Experiment


Title: Use PEP 585 syntax wherever possible by AlexWaygood · Pull Request #6717 · python/typeshed · GitHub

Open Graph Title: Use PEP 585 syntax wherever possible by AlexWaygood · Pull Request #6717 · python/typeshed

X Title: Use PEP 585 syntax wherever possible by AlexWaygood · Pull Request #6717 · python/typeshed

Description: Collection of library stubs for Python, with static types - Use PEP 585 syntax wherever possible by AlexWaygood · Pull Request #6717 · python/typeshed

Open Graph Description: This PR proposes using PEP 585 syntax where possible. There are two situations where this is currently not possible: Lowercase type still causes mypy errors in some situations (see, e.g., here). I...

X Description: This PR proposes using PEP 585 syntax where possible. There are two situations where this is currently not possible: Lowercase type still causes mypy errors in some situations (see, e.g., here). I...

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

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:5afa2a6e-1668-d30f-fa6f-977e28253d36
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC8C8:240318:401F58:5A4094:6A630831
html-safe-nonce15cca302489640c97918e5af7f5c59ef3339c5c2829e295348d020a0a39895c2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEM4OjI0MDMxODo0MDFGNTg6NUE0MDk0OjZBNjMwODMxIiwidmlzaXRvcl9pZCI6IjkwNjUwMjU0MTYyOTg5NTY4NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac54e18b655deda8f276ec4f5868207cd84d043ff36ca4fd4eef555c6881209fed
hovercard-subject-tagpull_request:810647543
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/6717/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/126f1b1a6a47677028506d0f0d07aaa9ee83a82a1a7ff9e9f51af935be25ab1f/python/typeshed/pull/6717
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/126f1b1a6a47677028506d0f0d07aaa9ee83a82a1a7ff9e9f51af935be25ab1f/python/typeshed/pull/6717
og:image:altThis PR proposes using PEP 585 syntax where possible. There are two situations where this is currently not possible: Lowercase type still causes mypy errors in some situations (see, e.g., here). I...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAlexWaygood
hostnamegithub.com
expected-hostnamegithub.com
Noneb48e7bf0b1945d51f303503b057abf666ce74c3efbe107b413db2bb921c3f012
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
release9370f37042c29822d6ba7e3f670f0036a0155b21
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/typeshed/pull/6717#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F6717
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%2F6717
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/6717
Reloadhttps://github.com/python/typeshed/pull/6717
Reloadhttps://github.com/python/typeshed/pull/6717
Please reload this pagehttps://github.com/python/typeshed/pull/6717
python https://github.com/python
typeshedhttps://github.com/python/typeshed
Please reload this pagehttps://github.com/python/typeshed/pull/6717
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 218 https://github.com/python/typeshed/issues
Pull requests 143 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
srittauhttps://github.com/srittau
python:masterhttps://github.com/python/typeshed/tree/master
AlexWaygood:replace-syntaxhttps://github.com/AlexWaygood/typeshed/tree/replace-syntax
Conversationhttps://github.com/python/typeshed/pull/6717
Commits5 (5)https://github.com/python/typeshed/pull/6717/commits
Checkshttps://github.com/python/typeshed/pull/6717/checks
Files changedhttps://github.com/python/typeshed/pull/6717/files
Use PEP 585 syntax wherever possiblehttps://github.com/python/typeshed/pull/6717#top
srittauhttps://github.com/srittau
python:masterhttps://github.com/python/typeshed/tree/master
AlexWaygood:replace-syntaxhttps://github.com/AlexWaygood/typeshed/tree/replace-syntax
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 28, 2021https://github.com/python/typeshed/pull/6717#issue-1089528359
Please reload this pagehttps://github.com/python/typeshed/pull/6717
herehttps://github.com/python/typeshed/runs/4627643258?check_suite_focus=true
herehttps://github.com/python/typeshed/runs/4629393978?check_suite_focus=true
Please reload this pagehttps://github.com/python/typeshed/pull/6717
AlexWaygoodhttps://github.com/AlexWaygood
December 27, 2021 23:42https://github.com/python/typeshed/pull/6717#commits-pushed-0243fbc
https://github.com/AlexWaygood
Add a failing testhttps://github.com/python/typeshed/pull/6717/commits/0243fbc6646c90fbcf7a49260b771192cb05651f
0243fbchttps://github.com/python/typeshed/pull/6717/commits/0243fbc6646c90fbcf7a49260b771192cb05651f
https://github.com/AlexWaygood
Apply PEP 585 syntax wherever possible, using scripthttps://github.com/python/typeshed/pull/6717/commits/6c9df1e78c8cf51cc9f56a1bd9429f8a8d325162
6c9df1ehttps://github.com/python/typeshed/pull/6717/commits/6c9df1e78c8cf51cc9f56a1bd9429f8a8d325162
https://github.com/AlexWaygood
Manually apply fixes for typed_asthttps://github.com/python/typeshed/pull/6717/commits/cc2601039c25092b18decc75c1dfee88577a16e4
cc26010https://github.com/python/typeshed/pull/6717/commits/cc2601039c25092b18decc75c1dfee88577a16e4
https://github.com/apps/github-actions
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F6717
https://github.com/AlexWaygood
Partially revert changes to typing_extensionshttps://github.com/python/typeshed/pull/6717/commits/d23b3aba4611d59ee5b647937bfa53c553c5a3e6
d23b3abhttps://github.com/python/typeshed/pull/6717/commits/d23b3aba4611d59ee5b647937bfa53c553c5a3e6
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
December 28, 2021 00:14https://github.com/python/typeshed/pull/6717#event-5819422591
https://github.com/marketplace/pre-commit-ci
[pre-commit.ci] auto fixes from pre-commit.com hookshttps://github.com/python/typeshed/pull/6717/commits/50864a55178b4c611b2cac1405d58d7ad3af0551
50864a5https://github.com/python/typeshed/pull/6717/commits/50864a55178b4c611b2cac1405d58d7ad3af0551
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Dec 28, 2021https://github.com/python/typeshed/pull/6717#issuecomment-1001808972
mypy_primerhttps://github.com/hauntsaninja/mypy_primer
Please reload this pagehttps://github.com/python/typeshed/pull/6717
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 28, 2021https://github.com/python/typeshed/pull/6717#event-5819442434
https://github.com/srittau
srittauhttps://github.com/srittau
Dec 28, 2021 https://github.com/python/typeshed/pull/6717#pullrequestreview-840792652
View reviewed changes https://github.com/python/typeshed/pull/6717/files/50864a55178b4c611b2cac1405d58d7ad3af0551
srittauhttps://github.com/srittau
https://github.com/python/typeshed/pull/6717#pullrequestreview-840792652
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/typeshed/pull/6717
https://github.com/srittau
srittauhttps://github.com/srittau
8d5d252https://github.com/python/typeshed/commit/8d5d2520ac82b64e93ae7bcfa0d5e46451c02a25
Dec 28, 2021https://github.com/python/typeshed/pull/6717#event-5820790053
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
December 28, 2021 10:36https://github.com/python/typeshed/pull/6717#event-5820804898
https://github.com/AlexWaygood
AlexWaygoodhttps://github.com/AlexWaygood
Dec 28, 2021https://github.com/python/typeshed/pull/6717#issuecomment-1002052264
@srittauhttps://github.com/srittau
Please reload this pagehttps://github.com/python/typeshed/pull/6717
AlexWaygoodhttps://github.com/AlexWaygood
Dec 28, 2021 https://github.com/python/typeshed/pull/6717#ref-commit-b8c51b9
https://github.com/AlexWaygood
DO-NOT-MERGE: Use Type Alias instead of import in csv.pyihttps://github.com/AlexWaygood/typeshed/commit/b8c51b9bff12bff44fd428cac67799fa3afef910
b8c51b9https://github.com/AlexWaygood/typeshed/commit/b8c51b9bff12bff44fd428cac67799fa3afef910
python#6717https://github.com/python/typeshed/pull/6717
DO-NOT-MERGE: Use Type Alias instead of import in csv.pyi #6723 https://github.com/python/typeshed/pull/6723
'"dict" is not subscriptable' error when using a type alias for dict in a .pyi stub file, with Python <= 3.8 python/mypy#11859 https://github.com/python/mypy/issues/11859
DO-NOT-MERGE: Import from collections.abc rather than typing in builtins #6724 https://github.com/python/typeshed/pull/6724
PEP 677: Minor wording and formatting fixes. python/peps#2225 https://github.com/python/peps/pull/2225
Use PEP 585 syntax in Python 2, protobuf & _ast stubs, where possible #6949 https://github.com/python/typeshed/pull/6949
https://github.com/The-Compiler
The-Compilerhttps://github.com/The-Compiler
Apr 25, 2022 https://github.com/python/typeshed/pull/6717#ref-issue-1190879383
Modernize type annotations qutebrowser/qutebrowser#7098 https://github.com/qutebrowser/qutebrowser/issues/7098
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%2F6717
https://github.com/srittau
srittau https://github.com/srittau
https://github.com/python/typeshed/pull/6717/files/50864a55178b4c611b2cac1405d58d7ad3af0551
Please reload this pagehttps://github.com/python/typeshed/pull/6717
https://github.com/AlexWaygood
https://github.com/srittau
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.