| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9f1ffc37-759c-e1f4-db40-75c9e193ff21 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AB12:3B16A6:329369A:4610712:6A4F25B5 |
| html-safe-nonce | 30393382e03ab32fa2ffeb11cde6d72298758c58cb782a54abc073695f832d5e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjEyOjNCMTZBNjozMjkzNjlBOjQ2MTA3MTI6NkE0RjI1QjUiLCJ2aXNpdG9yX2lkIjoiMTQxNTQ1MzkwNzc5OTE4ODkxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 46761683ada27729f8aafc2d08dca2b2313771673b732348e775baca94fd09be |
| hovercard-subject-tag | pull_request:157641080 |
| 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/cpython/pull/4799/files |
| twitter:image | https://avatars.githubusercontent.com/u/356399?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/356399?s=400&v=4 |
| og:image:alt | Second version.
Proof of concept, no tests, C Accelerator is not updated.
@1st1 @bdarnell please take a look
https://bugs.python.org/issue32250 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/4799/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F4799%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%2Fcpython%2Fpull%2F4799%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%2Fcpython |
| Reload | https://github.com/python/cpython/pull/4799/files |
| Reload | https://github.com/python/cpython/pull/4799/files |
| Reload | https://github.com/python/cpython/pull/4799/files |
| Please reload this page | https://github.com/python/cpython/pull/4799/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/4799/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.6k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%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%2Fcpython%2Fissues%2Fnew%2Fchoose |
| asvetlov | https://github.com/asvetlov |
| python:master | https://github.com/python/cpython/tree/master |
| asvetlov:current_task2 | https://github.com/asvetlov/cpython/tree/current_task2 |
|
Conversation
53
| https://github.com/python/cpython/pull/4799 |
|
Commits
28
| https://github.com/python/cpython/pull/4799/commits |
|
Checks
0
| https://github.com/python/cpython/pull/4799/checks |
|
Files changed
| https://github.com/python/cpython/pull/4799/files |
| Please reload this page | https://github.com/python/cpython/pull/4799/files |
|
bpo-32250: Implement asyncio.current_task() and asyncio.all_tasks()
| https://github.com/python/cpython/pull/4799/files#top |
|
Show all changes
28 commits
| https://github.com/python/cpython/pull/4799/files |
|
71c327e
Proof of concept
asvetlov Dec 11, 2017
| https://github.com/python/cpython/pull/4799/commits/71c327ee24f001fa79cbcf66946713a3c689c0d5 |
|
a384a51
Move functions into base_tasks.py
asvetlov Dec 11, 2017
| https://github.com/python/cpython/pull/4799/commits/a384a51f8b74f45108d6cf5ff826f78cfe290241 |
|
c9647a7
Use WeakKeyDictionary for _all_tasks
asvetlov Dec 11, 2017
| https://github.com/python/cpython/pull/4799/commits/c9647a7b4b84ddc826402598b838334b89de4552 |
|
9888405
Polish implementation
asvetlov Dec 12, 2017
| https://github.com/python/cpython/pull/4799/commits/9888405dcf3cac80e156df5b814d6f76873284a7 |
|
8897fd8
Merge remote-tracking branch 'upstream/master' into current_task2
asvetlov Dec 12, 2017
| https://github.com/python/cpython/pull/4799/commits/8897fd8c23eaa56150d1ec28d1ecf5efb6f77b47 |
|
a4d01b8
Fix C Acceleration
asvetlov Dec 12, 2017
| https://github.com/python/cpython/pull/4799/commits/a4d01b83264e60c44806156e8acc3a2e238abc03 |
|
8bf63f3
Add tests for deprecation
asvetlov Dec 12, 2017
| https://github.com/python/cpython/pull/4799/commits/8bf63f3a1a6de3e064a596b8781cf3bcca1f0e83 |
|
9d205dd
Make C Accelerators for _register_task, _enter_task and _leave_task
asvetlov Dec 12, 2017
| https://github.com/python/cpython/pull/4799/commits/9d205ddcdefd80c196558d0a012c902aa1f8a47a |
|
96ba687
Move pythod fallbacks back to base_tasks.py
asvetlov Dec 12, 2017
| https://github.com/python/cpython/pull/4799/commits/96ba687dbf33e89a2a46d48a9d34a1219e7a011e |
|
dda83b1
Add tests
asvetlov Dec 12, 2017
| https://github.com/python/cpython/pull/4799/commits/dda83b13595560b2b579338ba3506ceb613bed18 |
|
5a8e598
Add NEWS entry
asvetlov Dec 12, 2017
| https://github.com/python/cpython/pull/4799/commits/5a8e59832088fe07f9706e03f44271b43367efb5 |
|
c3b1794
Fix test name duplication.
asvetlov Dec 12, 2017
| https://github.com/python/cpython/pull/4799/commits/c3b17943603f536ac5d6934b65703062a7a46ffc |
|
3889ac0
Address comments
asvetlov Dec 13, 2017
| https://github.com/python/cpython/pull/4799/commits/3889ac0303d25268534faeb85dacc15a10cfc0e6 |
|
df7ac0b
Add new tests
asvetlov Dec 13, 2017
| https://github.com/python/cpython/pull/4799/commits/df7ac0bc1fca12e576eb05b0e38a5dca8807e232 |
|
a19c67f
Improve C Accelerator
asvetlov Dec 13, 2017
| https://github.com/python/cpython/pull/4799/commits/a19c67f2a9368c362fd3c3fce0b34bb22eda8d42 |
|
998f316
Improve tests
asvetlov Dec 14, 2017
| https://github.com/python/cpython/pull/4799/commits/998f3160e081e755a1f38abd7ecfc965cfa66555 |
|
a36ca8a
Merge remote-tracking branch 'upstream/master' into current_task2
asvetlov Dec 14, 2017
| https://github.com/python/cpython/pull/4799/commits/a36ca8a99313206e45e35171428a31caf2df286c |
|
5b1cfc2
Reorganize imports
asvetlov Dec 14, 2017
| https://github.com/python/cpython/pull/4799/commits/5b1cfc29105a5234718cfc0bdf63ff027b26c5a6 |
|
4cdfd0a
Refactor code
asvetlov Dec 14, 2017
| https://github.com/python/cpython/pull/4799/commits/4cdfd0a1fcd84760aeb837868375aeacda7e3975 |
|
ff5cf49
Merge remote-tracking branch 'upstream/master' into current_task2
asvetlov Dec 15, 2017
| https://github.com/python/cpython/pull/4799/commits/ff5cf4917ce07e80523154b70e95f9eda053182f |
|
1c7f5c2
Add missing decref
asvetlov Dec 15, 2017
| https://github.com/python/cpython/pull/4799/commits/1c7f5c2b3e99f2371c58c3adcedac299371a56f0 |
|
9abbb89
Reorganize code
asvetlov Dec 15, 2017
| https://github.com/python/cpython/pull/4799/commits/9abbb896dc68b95452bbeb557b38e97783977cfd |
|
8430283
Add docs/docstrings
asvetlov Dec 15, 2017
| https://github.com/python/cpython/pull/4799/commits/84302830b2b6335ab51d2bc3512046f5f8146016 |
|
5fdc96a
Merge remote-tracking branch 'upstream/master' into current_task2
asvetlov Dec 15, 2017
| https://github.com/python/cpython/pull/4799/commits/5fdc96a8fc576f83fbf81411cba386cd9dcc94a3 |
|
ee26922
Merge remote-tracking branch 'upstream/master' into current_task2
asvetlov Dec 16, 2017
| https://github.com/python/cpython/pull/4799/commits/ee26922e51808bd54d20526d3e12af80b4ef49fb |
|
21cbb06
Fix notes
asvetlov Dec 16, 2017
| https://github.com/python/cpython/pull/4799/commits/21cbb06f62d2e9db7758d7eee1009aa71f3f2ad9 |
|
85059e5
Fix hash calculation errors
asvetlov Dec 16, 2017
| https://github.com/python/cpython/pull/4799/commits/85059e53e8d80341fac41a015a1f86195afa0f67 |
|
06a57d8
Fix markup
asvetlov Dec 16, 2017
| https://github.com/python/cpython/pull/4799/commits/06a57d83f3393181242c6fe8a1f8767c89a331f5 |
|
Clear filters
| https://github.com/python/cpython/pull/4799/files |
| Please reload this page | https://github.com/python/cpython/pull/4799/files |
| Please reload this page | https://github.com/python/cpython/pull/4799/files |
|
asyncio-task.rst
| https://github.com/python/cpython/pull/4799/files#diff-5e9a5bb933b1bd1d6092f7e5adb5c06da7a6792e0597f55f911245acacfce7a7 |
|
tasks.py
| https://github.com/python/cpython/pull/4799/files#diff-429f4ed1e0f89ea2c92e2a8e8548ea8ae1a3d528979554fbfa4c38329e951529 |
|
test_tasks.py
| https://github.com/python/cpython/pull/4799/files#diff-ef1c83c981ac721906ba3b05e123351be23dcfb59e92d0aeb6f4033db9cdd8c8 |
|
2017-12-12-16-58-20.bpo-32250.UljTa0.rst
| https://github.com/python/cpython/pull/4799/files#diff-c5de2d847eaa4f0caa7183690b3c11ae078a00e917341b950fa61584dfaa95e6 |
|
_asynciomodule.c
| https://github.com/python/cpython/pull/4799/files#diff-6bd9e39980b88a721d902bcd915bbb3f24762f7f253430c45e52c42a2c5afd01 |
|
_asynciomodule.c.h
| https://github.com/python/cpython/pull/4799/files#diff-a19e0541aa4b8b56146c5d6e761608df7f2e8afeffaa8c3af930b17f25901a3c |
| Doc/library/asyncio-task.rst | https://github.com/python/cpython/pull/4799/files#diff-5e9a5bb933b1bd1d6092f7e5adb5c06da7a6792e0597f55f911245acacfce7a7 |
|
View file
| https://github.com/asvetlov/cpython/blob/06a57d83f3393181242c6fe8a1f8767c89a331f5/Doc/library/asyncio-task.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4799/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4799/files#diff-5e9a5bb933b1bd1d6092f7e5adb5c06da7a6792e0597f55f911245acacfce7a7 |
|
| https://github.com/python/cpython/pull/4799/files#diff-5e9a5bb933b1bd1d6092f7e5adb5c06da7a6792e0597f55f911245acacfce7a7 |
| Lib/asyncio/tasks.py | https://github.com/python/cpython/pull/4799/files#diff-429f4ed1e0f89ea2c92e2a8e8548ea8ae1a3d528979554fbfa4c38329e951529 |
|
View file
| https://github.com/asvetlov/cpython/blob/06a57d83f3393181242c6fe8a1f8767c89a331f5/Lib/asyncio/tasks.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4799/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4799/files#diff-429f4ed1e0f89ea2c92e2a8e8548ea8ae1a3d528979554fbfa4c38329e951529 |
|
| https://github.com/python/cpython/pull/4799/files#diff-429f4ed1e0f89ea2c92e2a8e8548ea8ae1a3d528979554fbfa4c38329e951529 |
|
| https://github.com/python/cpython/pull/4799/files#diff-429f4ed1e0f89ea2c92e2a8e8548ea8ae1a3d528979554fbfa4c38329e951529 |
|
| https://github.com/python/cpython/pull/4799/files#diff-429f4ed1e0f89ea2c92e2a8e8548ea8ae1a3d528979554fbfa4c38329e951529 |
| 1st1 | https://github.com/1st1 |
| Dec 11, 2017 | https://github.com/python/cpython/pull/4799/files#r156170441 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4799/files |
| asvetlov | https://github.com/asvetlov |
| Dec 12, 2017 | https://github.com/python/cpython/pull/4799/files#r156434059 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4799/files |
| 1st1 | https://github.com/1st1 |
| Dec 12, 2017 | https://github.com/python/cpython/pull/4799/files#r156443621 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4799/files |
|
| https://github.com/python/cpython/pull/4799/files#diff-429f4ed1e0f89ea2c92e2a8e8548ea8ae1a3d528979554fbfa4c38329e951529 |
|
| https://github.com/python/cpython/pull/4799/files#diff-429f4ed1e0f89ea2c92e2a8e8548ea8ae1a3d528979554fbfa4c38329e951529 |
|
| https://github.com/python/cpython/pull/4799/files#diff-429f4ed1e0f89ea2c92e2a8e8548ea8ae1a3d528979554fbfa4c38329e951529 |
|
| https://github.com/python/cpython/pull/4799/files#diff-429f4ed1e0f89ea2c92e2a8e8548ea8ae1a3d528979554fbfa4c38329e951529 |
|
| https://github.com/python/cpython/pull/4799/files#diff-429f4ed1e0f89ea2c92e2a8e8548ea8ae1a3d528979554fbfa4c38329e951529 |
|
| https://github.com/python/cpython/pull/4799/files#diff-429f4ed1e0f89ea2c92e2a8e8548ea8ae1a3d528979554fbfa4c38329e951529 |
|
| https://github.com/python/cpython/pull/4799/files#diff-429f4ed1e0f89ea2c92e2a8e8548ea8ae1a3d528979554fbfa4c38329e951529 |
| Please reload this page | https://github.com/python/cpython/pull/4799/files |
|
| 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 |