Staging
v0.5.1
https://github.com/python/cpython
Revision f16433a73138f279642e581074135694ddcfe965 authored by Victor Stinner on 05 February 2020, 11:18:28 UTC, committed by GitHub on 05 February 2020, 11:18:28 UTC
The macro is defined after Py_DECREF() and so is no longer used by
Py_DECREF().

Moving _Py_Dealloc() macro back from cpython/object.h to object.h
would require to move a lot of definitions as well: PyTypeObject and
many related types used by PyTypeObject.

Keep _Py_Dealloc() as an opaque function call to avoid leaking
implementation details in the limited C API (object.h): remove
_Py_Dealloc() macro from cpython/object.h.
1 parent 787b6d5
History
Tip revision: f16433a73138f279642e581074135694ddcfe965 authored by Victor Stinner on 05 February 2020, 11:18:28 UTC
bpo-39543: Remove unused _Py_Dealloc() macro (GH-18361)
Tip revision: f16433a
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.8 KB
.travis.yml -rw-r--r-- 8.1 KB
CODE_OF_CONDUCT.md -rw-r--r-- 630 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 66.5 KB
README.rst -rw-r--r-- 9.9 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 494.1 KB
configure.ac -rw-r--r-- 164.8 KB
install-sh -rwxr-xr-x 15.0 KB
netlify.toml -rw-r--r-- 82 bytes
pyconfig.h.in -rw-r--r-- 44.0 KB
setup.py -rw-r--r-- 101.7 KB

README.rst

back to top