Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

bpo-46752: Introduce task groups in asyncio#31270

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gvanrossum merged 24 commits intopython:mainfromgvanrossum:taskgroups
Feb 15, 2022
Merged
Changes from1 commit
Commits
Show all changes
24 commits
Select commitHold shift + click to select a range
7edee0b
Integrate task groups from EdgeDb
gvanrossumFeb 10, 2022
f495375
Make test_taskgroups.py run and pass
gvanrossumFeb 10, 2022
a87275a
Rename taskgroup to taskgroups in the test code
gvanrossumFeb 10, 2022
4df0acc
Export TaskGroup from asyncio; remove __future__ import
gvanrossumFeb 10, 2022
56db921
Only keep the newest _is_base_error() and _task_cancel()
gvanrossumFeb 10, 2022
500581e
Get rid of MultiError in favor of ExceptionGroup
gvanrossumFeb 11, 2022
4843e94
Add TaskGroupError to __all__
gvanrossumFeb 11, 2022
63e712d
Avoid DeprecationWarning: There is no current event loop
gvanrossumFeb 11, 2022
d233dd1
Prevent warning "test altered the execution environment"
gvanrossumFeb 11, 2022
af574d5
Get rid of custom TaskGroupError
gvanrossumFeb 11, 2022
299f366
Update comments explaining why test 21 doesn't work
gvanrossumFeb 12, 2022
9de3c87
Add tests showing that 'plain' BaseExceptions work
gvanrossumFeb 12, 2022
0e1355d
Allow creating new tasks while __aexit__ is waiting
gvanrossumFeb 12, 2022
77ec0e4
Add an API to Task to manage 'cancel_requested' flag
gvanrossumFeb 14, 2022
17b64b5
Add tests for .cancelling() and .uncancel()
gvanrossumFeb 14, 2022
5e3f4b9
Merge remote-tracking branch 'origin/main' into taskgroups
gvanrossumFeb 14, 2022
0b9bccd
📜🤖 Added by blurb_it.
blurb-it[bot]Feb 14, 2022
137ebe6
Replace EdgeDb copyright with a simpler attribution
gvanrossumFeb 15, 2022
f693c1c
Use task.cancelling() in task repr instead of access to private attri…
asvetlovFeb 15, 2022
b83734c
Change the internal imports
gvanrossumFeb 15, 2022
de3d820
Avoid needing self.loop in test
gvanrossumFeb 15, 2022
9712241
Make test 14 more robust
gvanrossumFeb 15, 2022
b3d4d18
Update Lib/asyncio/taskgroups.py
1st1Feb 15, 2022
c1e5d64
Update Lib/test/test_asyncio/test_taskgroups.py
1st1Feb 15, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Add TaskGroupError to __all__
  • Loading branch information
@gvanrossum
gvanrossum committedFeb 11, 2022
commit4843e94dfc00350de44e0612e704a63dcd162c97
2 changes: 1 addition & 1 deletionLib/asyncio/taskgroups.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -17,7 +17,7 @@
#


__all__ = ["TaskGroup"]
__all__ = ["TaskGroup", "TaskGroupError"]

import asyncio
import itertools
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp