diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-25 03:16:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-25 03:16:28 (GMT) |
commit | c5b13d6f80630d29bf5dca9cde53dfe15cf94f8b (patch) | |
tree | 1d3be27a2555b8a616c5748a7e9f4a2dfbd995bd /Include/internal/pycore_object.h | |
parent | 0d0520af834dc92035d54d302e67f50f86353d41 (diff) | |
download | cpython-c5b13d6f80630d29bf5dca9cde53dfe15cf94f8b.zip cpython-c5b13d6f80630d29bf5dca9cde53dfe15cf94f8b.tar.gz cpython-c5b13d6f80630d29bf5dca9cde53dfe15cf94f8b.tar.bz2 |
gh-107211: No longer export internal functions (4) (#107217)
No longer export these 2 internal C API functions:
* _PyEval_SignalAsyncExc()
* _PyEval_SignalReceived()
Add also comments explaining why some internal functions have to be
exported, and update existing comments.
Diffstat (limited to 'Include/internal/pycore_object.h')
-rw-r--r-- | Include/internal/pycore_object.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/internal/pycore_object.h b/Include/internal/pycore_object.h index c65c21c..6bf9dc2 100644 --- a/Include/internal/pycore_object.h +++ b/Include/internal/pycore_object.h @@ -434,7 +434,8 @@ extern PyObject ** _PyObject_ComputedDictPointer(PyObject *); extern void _PyObject_FreeInstanceAttributes(PyObject *obj); extern int _PyObject_IsInstanceDictEmpty(PyObject *); -PyAPI_FUNC(PyObject *) _PyObject_LookupSpecial(PyObject *, PyObject *); +// Export for 'math' shared extension +PyAPI_FUNC(PyObject*) _PyObject_LookupSpecial(PyObject *, PyObject *); extern int _PyObject_IsAbstract(PyObject *); |