]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39573: Use Py_SET_SIZE() function (GH-18402)
authorVictor Stinner <vstinner@python.org>
Fri, 7 Feb 2020 22:18:08 +0000 (23:18 +0100)
committerGitHub <noreply@github.com>
Fri, 7 Feb 2020 22:18:08 +0000 (23:18 +0100)
commit60ac6ed5579f6666130fc264d3b748ee9575e3aa
treec21d06611bea34d88dd5922850223837fa6ae733
parentde6f38db4859f7b8fe4da4556f06c52675fff24a
bpo-39573: Use Py_SET_SIZE() function (GH-18402)

Replace direct acccess to PyVarObject.ob_size with usage of
the Py_SET_SIZE() function.
16 files changed:
Modules/_asynciomodule.c
Modules/_collectionsmodule.c
Modules/_decimal/_decimal.c
Modules/_pickle.c
Modules/arraymodule.c
Modules/gcmodule.c
Objects/bytearrayobject.c
Objects/bytesobject.c
Objects/listobject.c
Objects/longobject.c
Objects/odictobject.c
Objects/stringlib/split.h
Objects/structseq.c
Python/ceval.c
Python/hamt.c
Python/marshal.c