Staging
v0.5.1
https://github.com/python/cpython
Revision bff525566469021949910deec84e837306b79886 authored by Miss Islington (bot) on 22 November 2019, 12:56:59 UTC, committed by GitHub on 22 November 2019, 12:56:59 UTC

Increment properly Py_True/Py_False reference counter for
_testcapi.WITH_PYMALLOC variable.
(cherry picked from commit 84c36c152a2bdf98f9cc7ce0e1db98e1f442a05e)

Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent 91c15a5
Raw File
Tip revision: bff525566469021949910deec84e837306b79886 authored by Miss Islington (bot) on 22 November 2019, 12:56:59 UTC
bpo-36854: Fix reference counter in PyInit__testcapi() (GH-17338)
Tip revision: bff5255
pyfpe.h
#ifndef Py_PYFPE_H
#define Py_PYFPE_H

/* 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 /* !Py_PYFPE_H */
back to top