Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.11] GH-94398: TaskGroup: Fail create_task() during shutdown (GH-94400) #94463

Merged
merged 1 commit into from
Jun 30, 2022

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 30, 2022

Once the task group is shutting down, it should not be possible to create a new task.
Here "shutting down" means self._aborting is set, indicating that at least one task
has failed and we have cancelled all others.

Co-authored-by: Łukasz Langa lukasz@langa.pl
(cherry picked from commit 594c369)

Co-authored-by: Guido van Rossum guido@python.org

…GH-94400)

Once the task group is shutting down, it should not be possible to create a new task.
Here "shutting down" means `self._aborting` is set, indicating that at least one task
has failed and we have cancelled all others.

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 594c369)

Co-authored-by: Guido van Rossum <guido@python.org>
@miss-islington
Copy link
Contributor Author

Status check is done, and it's a success ✅ .

@miss-islington
Copy link
Contributor Author

Status check is done, and it's a success ✅ .

@ambv ambv merged commit 7fe949e into python:3.11 Jun 30, 2022
@miss-islington miss-islington deleted the backport-594c369-3.11 branch June 30, 2022 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants