| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:5afa2a6e-1668-d30f-fa6f-977e28253d36 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C8C8:240318:401F58:5A4094:6A630831 |
| html-safe-nonce | 15cca302489640c97918e5af7f5c59ef3339c5c2829e295348d020a0a39895c2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEM4OjI0MDMxODo0MDFGNTg6NUE0MDk0OjZBNjMwODMxIiwidmlzaXRvcl9pZCI6IjkwNjUwMjU0MTYyOTg5NTY4NDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 54e18b655deda8f276ec4f5868207cd84d043ff36ca4fd4eef555c6881209fed |
| hovercard-subject-tag | pull_request:810647543 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/typeshed/6717/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/126f1b1a6a47677028506d0f0d07aaa9ee83a82a1a7ff9e9f51af935be25ab1f/python/typeshed/pull/6717 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/126f1b1a6a47677028506d0f0d07aaa9ee83a82a1a7ff9e9f51af935be25ab1f/python/typeshed/pull/6717 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlexWaygood |
| hostname | github.com |
| expected-hostname | github.com |
| None | b48e7bf0b1945d51f303503b057abf666ce74c3efbe107b413db2bb921c3f012 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/typeshed git https://github.com/python/typeshed.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 31696383 |
| octolytics-dimension-repository_nwo | python/typeshed |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31696383 |
| octolytics-dimension-repository_network_root_nwo | python/typeshed |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9370f37042c29822d6ba7e3f670f0036a0155b21 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://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 AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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 |
| Reload | https://github.com/python/typeshed/pull/6717 |
| Reload | https://github.com/python/typeshed/pull/6717 |
| Reload | https://github.com/python/typeshed/pull/6717 |
| Please reload this page | https://github.com/python/typeshed/pull/6717 |
|
python
| https://github.com/python |
| typeshed | https://github.com/python/typeshed |
| Please reload this page | https://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 |
| srittau | https://github.com/srittau |
| python:master | https://github.com/python/typeshed/tree/master |
| AlexWaygood:replace-syntax | https://github.com/AlexWaygood/typeshed/tree/replace-syntax |
| Conversation | https://github.com/python/typeshed/pull/6717 |
| Commits5 (5) | https://github.com/python/typeshed/pull/6717/commits |
| Checks | https://github.com/python/typeshed/pull/6717/checks |
| Files changed | https://github.com/python/typeshed/pull/6717/files |
| Use PEP 585 syntax wherever possible | https://github.com/python/typeshed/pull/6717#top |
| srittau | https://github.com/srittau |
| python:master | https://github.com/python/typeshed/tree/master |
| AlexWaygood:replace-syntax | https://github.com/AlexWaygood/typeshed/tree/replace-syntax |
|
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Dec 28, 2021 | https://github.com/python/typeshed/pull/6717#issue-1089528359 |
| Please reload this page | https://github.com/python/typeshed/pull/6717 |
| here | https://github.com/python/typeshed/runs/4627643258?check_suite_focus=true |
| here | https://github.com/python/typeshed/runs/4629393978?check_suite_focus=true |
| Please reload this page | https://github.com/python/typeshed/pull/6717 |
| AlexWaygood | https://github.com/AlexWaygood |
| December 27, 2021 23:42 | https://github.com/python/typeshed/pull/6717#commits-pushed-0243fbc |
|
| https://github.com/AlexWaygood |
| Add a failing test | https://github.com/python/typeshed/pull/6717/commits/0243fbc6646c90fbcf7a49260b771192cb05651f |
| 0243fbc | https://github.com/python/typeshed/pull/6717/commits/0243fbc6646c90fbcf7a49260b771192cb05651f |
|
| https://github.com/AlexWaygood |
| Apply PEP 585 syntax wherever possible, using script | https://github.com/python/typeshed/pull/6717/commits/6c9df1e78c8cf51cc9f56a1bd9429f8a8d325162 |
| 6c9df1e | https://github.com/python/typeshed/pull/6717/commits/6c9df1e78c8cf51cc9f56a1bd9429f8a8d325162 |
|
| https://github.com/AlexWaygood |
| Manually apply fixes for typed_ast | https://github.com/python/typeshed/pull/6717/commits/cc2601039c25092b18decc75c1dfee88577a16e4 |
| cc26010 | https://github.com/python/typeshed/pull/6717/commits/cc2601039c25092b18decc75c1dfee88577a16e4 |
| https://github.com/apps/github-actions |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F6717 |
|
| https://github.com/AlexWaygood |
| Partially revert changes to typing_extensions | https://github.com/python/typeshed/pull/6717/commits/d23b3aba4611d59ee5b647937bfa53c553c5a3e6 |
| d23b3ab | https://github.com/python/typeshed/pull/6717/commits/d23b3aba4611d59ee5b647937bfa53c553c5a3e6 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| December 28, 2021 00:14 | https://github.com/python/typeshed/pull/6717#event-5819422591 |
|
| https://github.com/marketplace/pre-commit-ci |
| [pre-commit.ci] auto fixes from pre-commit.com hooks | https://github.com/python/typeshed/pull/6717/commits/50864a55178b4c611b2cac1405d58d7ad3af0551 |
| 50864a5 | https://github.com/python/typeshed/pull/6717/commits/50864a55178b4c611b2cac1405d58d7ad3af0551 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Dec 28, 2021 | https://github.com/python/typeshed/pull/6717#issuecomment-1001808972 |
| mypy_primer | https://github.com/hauntsaninja/mypy_primer |
| Please reload this page | https://github.com/python/typeshed/pull/6717 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Dec 28, 2021 | https://github.com/python/typeshed/pull/6717#event-5819442434 |
| https://github.com/srittau |
| srittau | https://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 |
| srittau | https://github.com/srittau |
| https://github.com/python/typeshed/pull/6717#pullrequestreview-840792652 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/typeshed/pull/6717 |
| https://github.com/srittau |
| srittau | https://github.com/srittau |
| 8d5d252 | https://github.com/python/typeshed/commit/8d5d2520ac82b64e93ae7bcfa0d5e46451c02a25 |
| Dec 28, 2021 | https://github.com/python/typeshed/pull/6717#event-5820790053 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| December 28, 2021 10:36 | https://github.com/python/typeshed/pull/6717#event-5820804898 |
| https://github.com/AlexWaygood |
| AlexWaygood | https://github.com/AlexWaygood |
| Dec 28, 2021 | https://github.com/python/typeshed/pull/6717#issuecomment-1002052264 |
| @srittau | https://github.com/srittau |
| Please reload this page | https://github.com/python/typeshed/pull/6717 |
| AlexWaygood | https://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.pyi | https://github.com/AlexWaygood/typeshed/commit/b8c51b9bff12bff44fd428cac67799fa3afef910 |
| b8c51b9 | https://github.com/AlexWaygood/typeshed/commit/b8c51b9bff12bff44fd428cac67799fa3afef910 |
| python#6717 | https://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-Compiler | https://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 free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://github.com/python/typeshed/pull/6717 |
|
| https://github.com/AlexWaygood |
|
| https://github.com/srittau |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |