]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39573: Add Py_SET_TYPE() function (GH-18394)
authorVictor Stinner <vstinner@python.org>
Fri, 7 Feb 2020 08:17:07 +0000 (09:17 +0100)
committerGitHub <noreply@github.com>
Fri, 7 Feb 2020 08:17:07 +0000 (09:17 +0100)
commitd2ec81a8c99796b51fb8c49b77a7fe369863226f
treed88e7cbe89f65366d5591338fbe59a71192950db
parentdaa9756cb6395323d6f291efe5c7d7fdc6b2e9d8
bpo-39573: Add Py_SET_TYPE() function (GH-18394)

Add Py_SET_TYPE() function to set the type of an object.
24 files changed:
Doc/c-api/structures.rst
Include/cpython/objimpl.h
Include/object.h
Misc/NEWS.d/next/C API/2020-02-07-03-39-03.bpo-39573.Oa8cL1.rst [new file with mode: 0644]
Modules/_blake2/blake2module.c
Modules/_ctypes/_ctypes.c
Modules/_ctypes/ctypes.h
Modules/_sha3/sha3module.c
Modules/_sqlite/prepare_protocol.c
Modules/_testbuffer.c
Modules/_testcapimodule.c
Modules/arraymodule.c
Modules/itertoolsmodule.c
Modules/md5module.c
Modules/sha1module.c
Modules/sha256module.c
Modules/sha512module.c
Modules/socketmodule.c
Modules/unicodedata.c
Objects/floatobject.c
Objects/moduleobject.c
Objects/object.c
Objects/typeobject.c
Objects/weakrefobject.c