| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:71e567c8-0486-16fa-5aa4-96aaa3a830cf |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B97A:13C9B5:153FCA0:1C54426:6A5B9C41 |
| html-safe-nonce | 9890896a893d06983084e28458b631a923b55cc77876a37a39caedd7fa4d3239 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTdBOjEzQzlCNToxNTNGQ0EwOjFDNTQ0MjY6NkE1QjlDNDEiLCJ2aXNpdG9yX2lkIjoiNDQ1OTM2MzQ3NjA1MDc3OTIwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8bd424063e8021907bf0ad305e3079f9348e57c68cc55a17e8ca71e7441a5758 |
| hovercard-subject-tag | pull_request:854707896 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/typeshed/pull/7240/files |
| twitter:image | https://avatars.githubusercontent.com/u/2894642?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2894642?s=400&v=4 |
| og:image:alt | The new Task methods are .cancelling() and .uncancel().
Everything is conditional to 3.11 (but the taskgroups.py module
always exists -- it's just empty before 3.11). |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/typeshed/pull/7240/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Ftypeshed%2Fpull%2F7240%2Ffiles |
| 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 |
| 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%2F7240%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Ftypeshed |
| Reload | https://github.com/python/typeshed/pull/7240/files |
| Reload | https://github.com/python/typeshed/pull/7240/files |
| Reload | https://github.com/python/typeshed/pull/7240/files |
| Please reload this page | https://github.com/python/typeshed/pull/7240/files |
|
python
| https://github.com/python |
| typeshed | https://github.com/python/typeshed |
| Please reload this page | https://github.com/python/typeshed/pull/7240/files |
|
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
222
| https://github.com/python/typeshed/issues |
|
Pull requests
150
| 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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Ftypeshed%2Fissues%2Fnew%2Fchoose |
| Akuli | https://github.com/Akuli |
| master | https://github.com/python/typeshed/tree/master |
| taskgroups | https://github.com/python/typeshed/tree/taskgroups |
|
Conversation
29
| https://github.com/python/typeshed/pull/7240 |
|
Commits
15
| https://github.com/python/typeshed/pull/7240/commits |
|
Checks
0
| https://github.com/python/typeshed/pull/7240/checks |
|
Files changed
| https://github.com/python/typeshed/pull/7240/files |
| Please reload this page | https://github.com/python/typeshed/pull/7240/files |
|
Add asyncio.taskgroups and new Task methods
| https://github.com/python/typeshed/pull/7240/files#top |
|
Show all changes
15 commits
| https://github.com/python/typeshed/pull/7240/files |
|
9833b03
Add asyncio.taskgroups and new Task methods
gvanrossum Feb 16, 2022
| https://github.com/python/typeshed/pull/7240/commits/9833b034449c8cd70ee86c276f9a2170d268f8a8 |
|
f080a41
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 16, 2022
| https://github.com/python/typeshed/pull/7240/commits/f080a411c67d585db51e442a9cfdaac00fb97230 |
|
c3e6ff6
Make default value '...'
gvanrossum Feb 16, 2022
| https://github.com/python/typeshed/pull/7240/commits/c3e6ff6da7eb6ca44b8e0b391e980bdebfb90078 |
|
84a0f30
Add explicit return type for __init__()
gvanrossum Feb 16, 2022
| https://github.com/python/typeshed/pull/7240/commits/84a0f30c8402fccddca2f0e940955f25d5f2bb7f |
|
e94e699
Import TaskGroup into toplevel asyncio
gvanrossum Feb 16, 2022
| https://github.com/python/typeshed/pull/7240/commits/e94e699ddba00317783172549ede195f26520991 |
|
d238676
Make __aenter__/__aexit__ async!
gvanrossum Feb 16, 2022
| https://github.com/python/typeshed/pull/7240/commits/d2386765be5dc08d67b12fe726a1c8caa4924504 |
|
66e7fa2
Update stdlib/VERSIONS file
gvanrossum Feb 16, 2022
| https://github.com/python/typeshed/pull/7240/commits/66e7fa2dc7a3bbab8f532e2ea59f6862e2d502ef |
|
767c264
Use 'import X as X' idiom
gvanrossum Feb 16, 2022
| https://github.com/python/typeshed/pull/7240/commits/767c264c65ad5439d0186702d4f183fd146e9e48 |
|
baab662
Update stubtest allowlists
gvanrossum Feb 16, 2022
| https://github.com/python/typeshed/pull/7240/commits/baab66212a6cc2609ac65f502f9ce06aedd78fd6 |
|
bc3cd0e
Remove version check from taskgroups.pyi; fix __aexit__ signature
gvanrossum Feb 16, 2022
| https://github.com/python/typeshed/pull/7240/commits/bc3cd0e6b987857edd9082b1507e79dc71fb4294 |
|
99883fb
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 16, 2022
| https://github.com/python/typeshed/pull/7240/commits/99883fb23e150bd9f9ad64562c485dc5dd3ed3f9 |
|
634bf7d
Get rid of name arg (it doesn't exist)
gvanrossum Feb 16, 2022
| https://github.com/python/typeshed/pull/7240/commits/634bf7dcb73a87b081df3c66d420c51cbfa3e00a |
|
7dfbc6c
The name arg on __init__ is kw-only
gvanrossum Feb 16, 2022
| https://github.com/python/typeshed/pull/7240/commits/7dfbc6c0bcb07fde879868bcdd5906065e3931bd |
|
2df795b
Use Self typevar for __aenter__
gvanrossum Feb 16, 2022
| https://github.com/python/typeshed/pull/7240/commits/2df795b4ef9ed3cc8425e24ae8ae09aaf2eeaf62 |
|
969eb9c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Feb 16, 2022
| https://github.com/python/typeshed/pull/7240/commits/969eb9c95c80132aa8c929e85a004b896b34b94e |
|
Clear filters
| https://github.com/python/typeshed/pull/7240/files |
| Please reload this page | https://github.com/python/typeshed/pull/7240/files |
| Please reload this page | https://github.com/python/typeshed/pull/7240/files |
|
VERSIONS
| https://github.com/python/typeshed/pull/7240/files#diff-64a591b111f0ebedfec30a4b1eb880cabf8c9c03eb3ebb57f37278713dc20204 |
|
__init__.pyi
| https://github.com/python/typeshed/pull/7240/files#diff-07463f3f607d324c7f1c0dbb119fceb0fa1b70ae5e21faad6f2ff40fc176b957 |
|
taskgroups.pyi
| https://github.com/python/typeshed/pull/7240/files#diff-49b0bf2c0b7d918bc8ed8a604a964706ad35dd59766cddb752de1910af66e68f |
|
tasks.pyi
| https://github.com/python/typeshed/pull/7240/files#diff-1c7d4edfb5db9dace7e2a4d54a30de2a104bbf3dbac5a6ca06afbae2c9fda58b |
|
py310.txt
| https://github.com/python/typeshed/pull/7240/files#diff-e114a13875db9dd024eed43ed5e5c1a33d75ad2959eb5e30e76addc147b6dfd9 |
|
py36.txt
| https://github.com/python/typeshed/pull/7240/files#diff-77441e7a440b2c24ae2a7d20e3742665cc1bfb896d372de790edd4447ca01374 |
|
py37.txt
| https://github.com/python/typeshed/pull/7240/files#diff-fb067bea3ed6f8da0f551215b35a2d57c82d1f6ef80415f2aab1364f7f6882e8 |
|
py38.txt
| https://github.com/python/typeshed/pull/7240/files#diff-548e33e3cc52647bdcf2328c3320e49bcdb5808576d7d7e02075b352ad6e9ca3 |
|
py39.txt
| https://github.com/python/typeshed/pull/7240/files#diff-a6546f2df3b6a33949cd3d59d4c7d9409d94095b2bf8681854a14fda20f9d3e9 |
| stdlib/VERSIONS | https://github.com/python/typeshed/pull/7240/files#diff-64a591b111f0ebedfec30a4b1eb880cabf8c9c03eb3ebb57f37278713dc20204 |
|
View file
| https://github.com/python/typeshed/blob/969eb9c95c80132aa8c929e85a004b896b34b94e/stdlib/VERSIONS |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/7240/{{ revealButtonHref }} |
|
| https://github.com/python/typeshed/pull/7240/files#diff-64a591b111f0ebedfec30a4b1eb880cabf8c9c03eb3ebb57f37278713dc20204 |
|
| https://github.com/python/typeshed/pull/7240/files#diff-64a591b111f0ebedfec30a4b1eb880cabf8c9c03eb3ebb57f37278713dc20204 |
| stdlib/asyncio/__init__.pyi | https://github.com/python/typeshed/pull/7240/files#diff-07463f3f607d324c7f1c0dbb119fceb0fa1b70ae5e21faad6f2ff40fc176b957 |
|
View file
| https://github.com/python/typeshed/blob/969eb9c95c80132aa8c929e85a004b896b34b94e/stdlib/asyncio/__init__.pyi |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/7240/{{ revealButtonHref }} |
|
| https://github.com/python/typeshed/pull/7240/files#diff-07463f3f607d324c7f1c0dbb119fceb0fa1b70ae5e21faad6f2ff40fc176b957 |
|
| https://github.com/python/typeshed/pull/7240/files#diff-07463f3f607d324c7f1c0dbb119fceb0fa1b70ae5e21faad6f2ff40fc176b957 |
| stdlib/asyncio/taskgroups.pyi | https://github.com/python/typeshed/pull/7240/files#diff-49b0bf2c0b7d918bc8ed8a604a964706ad35dd59766cddb752de1910af66e68f |
|
View file
| https://github.com/python/typeshed/blob/969eb9c95c80132aa8c929e85a004b896b34b94e/stdlib/asyncio/taskgroups.pyi |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/7240/{{ revealButtonHref }} |
| stdlib/asyncio/tasks.pyi | https://github.com/python/typeshed/pull/7240/files#diff-1c7d4edfb5db9dace7e2a4d54a30de2a104bbf3dbac5a6ca06afbae2c9fda58b |
|
View file
| https://github.com/python/typeshed/blob/969eb9c95c80132aa8c929e85a004b896b34b94e/stdlib/asyncio/tasks.pyi |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/7240/{{ revealButtonHref }} |
|
| https://github.com/python/typeshed/pull/7240/files#diff-1c7d4edfb5db9dace7e2a4d54a30de2a104bbf3dbac5a6ca06afbae2c9fda58b |
|
| https://github.com/python/typeshed/pull/7240/files#diff-1c7d4edfb5db9dace7e2a4d54a30de2a104bbf3dbac5a6ca06afbae2c9fda58b |
| tests/stubtest_allowlists/py310.txt | https://github.com/python/typeshed/pull/7240/files#diff-e114a13875db9dd024eed43ed5e5c1a33d75ad2959eb5e30e76addc147b6dfd9 |
|
View file
| https://github.com/python/typeshed/blob/969eb9c95c80132aa8c929e85a004b896b34b94e/tests/stubtest_allowlists/py310.txt |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/7240/{{ revealButtonHref }} |
|
| https://github.com/python/typeshed/pull/7240/files#diff-e114a13875db9dd024eed43ed5e5c1a33d75ad2959eb5e30e76addc147b6dfd9 |
|
| https://github.com/python/typeshed/pull/7240/files#diff-e114a13875db9dd024eed43ed5e5c1a33d75ad2959eb5e30e76addc147b6dfd9 |
| tests/stubtest_allowlists/py36.txt | https://github.com/python/typeshed/pull/7240/files#diff-77441e7a440b2c24ae2a7d20e3742665cc1bfb896d372de790edd4447ca01374 |
|
View file
| https://github.com/python/typeshed/blob/969eb9c95c80132aa8c929e85a004b896b34b94e/tests/stubtest_allowlists/py36.txt |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/7240/{{ revealButtonHref }} |
|
| https://github.com/python/typeshed/pull/7240/files#diff-77441e7a440b2c24ae2a7d20e3742665cc1bfb896d372de790edd4447ca01374 |
|
| https://github.com/python/typeshed/pull/7240/files#diff-77441e7a440b2c24ae2a7d20e3742665cc1bfb896d372de790edd4447ca01374 |
| tests/stubtest_allowlists/py37.txt | https://github.com/python/typeshed/pull/7240/files#diff-fb067bea3ed6f8da0f551215b35a2d57c82d1f6ef80415f2aab1364f7f6882e8 |
|
View file
| https://github.com/python/typeshed/blob/969eb9c95c80132aa8c929e85a004b896b34b94e/tests/stubtest_allowlists/py37.txt |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/7240/{{ revealButtonHref }} |
|
| https://github.com/python/typeshed/pull/7240/files#diff-fb067bea3ed6f8da0f551215b35a2d57c82d1f6ef80415f2aab1364f7f6882e8 |
|
| https://github.com/python/typeshed/pull/7240/files#diff-fb067bea3ed6f8da0f551215b35a2d57c82d1f6ef80415f2aab1364f7f6882e8 |
| tests/stubtest_allowlists/py38.txt | https://github.com/python/typeshed/pull/7240/files#diff-548e33e3cc52647bdcf2328c3320e49bcdb5808576d7d7e02075b352ad6e9ca3 |
|
View file
| https://github.com/python/typeshed/blob/969eb9c95c80132aa8c929e85a004b896b34b94e/tests/stubtest_allowlists/py38.txt |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/7240/{{ revealButtonHref }} |
|
| https://github.com/python/typeshed/pull/7240/files#diff-548e33e3cc52647bdcf2328c3320e49bcdb5808576d7d7e02075b352ad6e9ca3 |
|
| https://github.com/python/typeshed/pull/7240/files#diff-548e33e3cc52647bdcf2328c3320e49bcdb5808576d7d7e02075b352ad6e9ca3 |
| tests/stubtest_allowlists/py39.txt | https://github.com/python/typeshed/pull/7240/files#diff-a6546f2df3b6a33949cd3d59d4c7d9409d94095b2bf8681854a14fda20f9d3e9 |
|
View file
| https://github.com/python/typeshed/blob/969eb9c95c80132aa8c929e85a004b896b34b94e/tests/stubtest_allowlists/py39.txt |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/typeshed/pull/7240/{{ revealButtonHref }} |
|
| https://github.com/python/typeshed/pull/7240/files#diff-a6546f2df3b6a33949cd3d59d4c7d9409d94095b2bf8681854a14fda20f9d3e9 |
|
| https://github.com/python/typeshed/pull/7240/files#diff-a6546f2df3b6a33949cd3d59d4c7d9409d94095b2bf8681854a14fda20f9d3e9 |
|
| 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 |