comparison contrib/clang-format-ignorelist @ 46374:e92ca942ddca

cext: add Python 3.10 support * Replace "Py_TYPE(obj) = type;" with "Py_SET_TYPE(obj, type);" * Add pythoncapi_compat.h header file to get Py_SET_TYPE() on Python 2.7-3.8. Header file added to mercurial/ and contrib/python-zstandard/zstd/common/. In Python 3.10, Py_TYPE(obj) must not longer be used as an l-value. pythoncapi_compat.h comes from: https://github.com/pythoncapi/pythoncapi_compat Differential Revision: https://phab.mercurial-scm.org/D9825
author Victor Stinner <vstinner@python.org>
date Mon, 14 Dec 2020 10:44:29 +0100
parents 98944715a02c
children
comparison
equal deleted inserted replaced
46373:711ba0f1057e 46374:e92ca942ddca
7 contrib/python-zstandard/**.c 7 contrib/python-zstandard/**.c
8 contrib/python-zstandard/**.h 8 contrib/python-zstandard/**.h
9 hgext/fsmonitor/pywatchman/**.c 9 hgext/fsmonitor/pywatchman/**.c
10 mercurial/thirdparty/**.c 10 mercurial/thirdparty/**.c
11 mercurial/thirdparty/**.h 11 mercurial/thirdparty/**.h
12 mercurial/pythoncapi_compat.h