]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39573: Use Py_TYPE() macro in Python and Include directories (GH-18391)
authorVictor Stinner <vstinner@python.org>
Fri, 7 Feb 2020 01:24:48 +0000 (02:24 +0100)
committerGitHub <noreply@github.com>
Fri, 7 Feb 2020 01:24:48 +0000 (02:24 +0100)
commita102ed7d2f0e7e05438f14d5fb72ca0358602249
treea5a3aca7a251c82d7b35c130cc913d6009baa18a
parent38aaaaac805fa30870e2d093e52a900dddde3b34
bpo-39573: Use Py_TYPE() macro in Python and Include directories (GH-18391)

Replace direct access to PyObject.ob_type with Py_TYPE().
12 files changed:
Include/classobject.h
Include/cpython/abstract.h
Include/pyerrors.h
Python/_warnings.c
Python/bltinmodule.c
Python/ceval.c
Python/codecs.c
Python/compile.c
Python/formatter_unicode.c
Python/getargs.c
Python/marshal.c
Python/sysmodule.c