diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-06-30 18:02:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-30 18:02:42 (GMT) |
commit | 7fe949e5eac3efa8bb0cd9e7274380a044a408ea (patch) | |
tree | 8f69cacdca1e35f2eccc48cbde6dfe7c1ffa5b1b /Lib/test/test_tracemalloc.py | |
parent | aed28b7feb349cdeb45285d46ae7b36f200c957e (diff) | |
download | cpython-7fe949e5eac3efa8bb0cd9e7274380a044a408ea.zip cpython-7fe949e5eac3efa8bb0cd9e7274380a044a408ea.tar.gz cpython-7fe949e5eac3efa8bb0cd9e7274380a044a408ea.tar.bz2 |
GH-94398: TaskGroup: Fail create_task() during shutdown (GH-94400) (GH-94463)
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 594c3699492bfb007650538726d953cbed55de04)
Co-authored-by: Guido van Rossum <guido@python.org>
Diffstat (limited to 'Lib/test/test_tracemalloc.py')
0 files changed, 0 insertions, 0 deletions