mirror of
https://github.com/python/cpython.git
synced 2026-06-28 13:50:17 -04:00
594c369949
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>