Staging
v0.5.1
https://github.com/python/cpython
Revision 815506d852daabc40e14ff0987c1142c0205fbe7 authored by Victor Stinner on 08 December 2020, 22:51:26 UTC, committed by GitHub on 08 December 2020, 22:51:26 UTC
PyErr_ProgramText() now calls PyErr_ProgramTextObject().
1 parent 6d3dfee
Raw File
Tip revision: 815506d852daabc40e14ff0987c1142c0205fbe7 authored by Victor Stinner on 08 December 2020, 22:51:26 UTC
bpo-32381: Rewrite PyErr_ProgramText() (GH-23700)
Tip revision: 815506d
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