summaryrefslogtreecommitdiff
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-02-05 12:23:27 +0100
committerGitHub <noreply@github.com>2020-02-05 12:23:27 +0100
commit0fa4f43db086ac3459811cca4ec5201ffbee694a (patch)
treebfa4e1954c4fae0075db0c28224ad57d9b457e27 /Misc/NEWS.d
parentf16433a73138f279642e581074135694ddcfe965 (diff)
downloadcpython-git-0fa4f43db086ac3459811cca4ec5201ffbee694a.tar.gz
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/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/C API/2020-02-05-12-00-18.bpo-39542.RJCUKR.rst3
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 0000000000..5829d6e974
--- /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.