Staging
v0.8.1
https://github.com/python/cpython
Revision 90115a2cf7033c990a54d1ecb90ebd850b5f13cf authored by Miss Islington (bot) on 10 November 2020, 14:20:52 UTC, committed by GitHub on 10 November 2020, 14:20:52 UTC

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>
1 parent 2a86ade
Raw File
Tip revision: 90115a2cf7033c990a54d1ecb90ebd850b5f13cf authored by Miss Islington (bot) on 10 November 2020, 14:20:52 UTC
bpo-42183: Fix a stack overflow error for asyncio Task or Future repr() (GH-23020)
Tip revision: 90115a2
pyfpe.h
#ifndef Py_PYFPE_H
#define Py_PYFPE_H
/* Header excluded from the stable API */
#ifndef Py_LIMITED_API

/* These macros used to do something when Python was built with --with-fpectl,
 * but support for that was dropped in 3.7. We continue to define them though,
 * to avoid breaking API users.
 */

#define PyFPE_START_PROTECT(err_string, leave_stmt)
#define PyFPE_END_PROTECT(v)

#endif /* !defined(Py_LIMITED_API) */
#endif /* !Py_PYFPE_H */
back to top