diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2020-01-04 09:10:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-04 09:10:14 (GMT) |
commit | 3a5de511596f17575de082dcb8d43d63b2bd2da9 (patch) | |
tree | 4c7b6255c00d9b565082997015695e6f0909e202 /Misc | |
parent | e02ab59fdffa0bb841182c30ef1355c89578d945 (diff) | |
download | cpython-3a5de511596f17575de082dcb8d43d63b2bd2da9.zip cpython-3a5de511596f17575de082dcb8d43d63b2bd2da9.tar.gz cpython-3a5de511596f17575de082dcb8d43d63b2bd2da9.tar.bz2 |
Fix #39191: Don't spawn a task before failing (#17796)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-01-02-17-28-03.bpo-39191.ur_scy.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-01-02-17-28-03.bpo-39191.ur_scy.rst b/Misc/NEWS.d/next/Library/2020-01-02-17-28-03.bpo-39191.ur_scy.rst new file mode 100644 index 0000000..138c93c --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-01-02-17-28-03.bpo-39191.ur_scy.rst @@ -0,0 +1,3 @@ +Perform a check for running loop before starting a new task in +``loop.run_until_complete()`` to fail fast; it prevents the side effect of +new task spawning before exception raising. |