]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39542: Exclude trashcan from the limited C API (GH-18362)
authorVictor Stinner <vstinner@python.org>
Wed, 5 Feb 2020 11:23:27 +0000 (12:23 +0100)
committerGitHub <noreply@github.com>
Wed, 5 Feb 2020 11:23:27 +0000 (12:23 +0100)
commit0fa4f43db086ac3459811cca4ec5201ffbee694a
treebfa4e1954c4fae0075db0c28224ad57d9b457e27
parentf16433a73138f279642e581074135694ddcfe965
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.
Include/cpython/object.h
Include/object.h
Misc/NEWS.d/next/C API/2020-02-05-12-00-18.bpo-39542.RJCUKR.rst [new file with mode: 0644]