diff options
author | Victor Stinner <vstinner@python.org> | 2020-02-05 11:23:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-05 11:23:27 (GMT) |
commit | 0fa4f43db086ac3459811cca4ec5201ffbee694a (patch) | |
tree | bfa4e1954c4fae0075db0c28224ad57d9b457e27 /Misc | |
parent | f16433a73138f279642e581074135694ddcfe965 (diff) | |
download | cpython-0fa4f43db086ac3459811cca4ec5201ffbee694a.zip cpython-0fa4f43db086ac3459811cca4ec5201ffbee694a.tar.gz cpython-0fa4f43db086ac3459811cca4ec5201ffbee694a.tar.bz2 |
bpo-39542: Exclude trashcan from the limited C API (GH-18362)
Exclude trashcan mechanism from the limited C API: it requires access to
PyTypeObject and PyThreadState structure fields, whereas these structures
are opaque in the limited C API.
The trashcan mechanism never worked with the limited C API. Move it
from object.h to cpython/object.h.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/C API/2020-02-05-12-00-18.bpo-39542.RJCUKR.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2020-02-05-12-00-18.bpo-39542.RJCUKR.rst b/Misc/NEWS.d/next/C API/2020-02-05-12-00-18.bpo-39542.RJCUKR.rst new file mode 100644 index 0000000..5829d6e --- /dev/null +++ b/Misc/NEWS.d/next/C API/2020-02-05-12-00-18.bpo-39542.RJCUKR.rst @@ -0,0 +1,3 @@ +Exclude trashcan mechanism from the limited C API: it requires access to +PyTypeObject and PyThreadState structure fields, whereas these structures +are opaque in the limited C API. |