diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-11-10 14:20:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 14:20:52 (GMT) |
commit | 90115a2cf7033c990a54d1ecb90ebd850b5f13cf (patch) | |
tree | 979da20dec8efcb647078166d55fb2801aa825ba /Misc | |
parent | 2a86ade9e38168ba49c68d1dd52ced588a80d945 (diff) | |
download | cpython-90115a2cf7033c990a54d1ecb90ebd850b5f13cf.zip cpython-90115a2cf7033c990a54d1ecb90ebd850b5f13cf.tar.gz cpython-90115a2cf7033c990a54d1ecb90ebd850b5f13cf.tar.bz2 |
bpo-42183: Fix a stack overflow error for asyncio Task or Future repr() (GH-23020)
The overflow occurs under some circumstances when a task or future
recursively returns itself.
Co-authored-by: Kyle Stanley <aeros167@gmail.com>
(cherry picked from commit 42d873c63aa9d160c132be4a34599531574db12c)
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2020-10-29-11-17-35.bpo-42183.50ZcIi.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-10-29-11-17-35.bpo-42183.50ZcIi.rst b/Misc/NEWS.d/next/Library/2020-10-29-11-17-35.bpo-42183.50ZcIi.rst new file mode 100644 index 0000000..f6d7653 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2020-10-29-11-17-35.bpo-42183.50ZcIi.rst @@ -0,0 +1,4 @@ +Fix a stack overflow error for asyncio Task or Future repr(). + +The overflow occurs under some circumstances when a Task or Future +recursively returns itself. |