diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-05-24 15:01:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-24 15:01:38 (GMT) |
commit | 438a12dd9d85f463c0bb7bf1505cd87b98b98170 (patch) | |
tree | 98c86409bb8fdfca0c58588f2b9475d25579057e /Makefile.pre.in | |
parent | 13d4e6a4a090031f8214e058ed3c8fd47767e05f (diff) | |
download | cpython-438a12dd9d85f463c0bb7bf1505cd87b98b98170.zip cpython-438a12dd9d85f463c0bb7bf1505cd87b98b98170.tar.gz cpython-438a12dd9d85f463c0bb7bf1505cd87b98b98170.tar.bz2 |
bpo-36710: Add tstate parameter in ceval.c (GH-13547)
* Fix a possible reference leak in _PyErr_Print() if exception
is NULL.
* PyErr_BadInternalCall(): replace PyErr_Format() with _PyErr_SetString().
* Add pycore_pyerrors.h header file.
* New functions:
* _PyErr_Clear()
* _PyErr_Fetch()
* _PyErr_Print()
* _PyErr_Restore()
* _PyErr_SetObject()
* _PyErr_SetString()
* Add 'tstate' parameter to _PyEval_AddPendingCall().
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 12891e9..a149fde 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1077,6 +1077,7 @@ PYTHON_HEADERS= \ $(srcdir)/Include/internal/pycore_hamt.h \ $(srcdir)/Include/internal/pycore_object.h \ $(srcdir)/Include/internal/pycore_pathconfig.h \ + $(srcdir)/Include/internal/pycore_pyerrors.h \ $(srcdir)/Include/internal/pycore_pyhash.h \ $(srcdir)/Include/internal/pycore_pylifecycle.h \ $(srcdir)/Include/internal/pycore_pymem.h \ |