comparison tests/test-check-code.t @ 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 eff26a0f664f
children 45afff0f530a
comparison
equal deleted inserted replaced
46373:711ba0f1057e 46374:e92ca942ddca
9 9
10 $ testrepohg locate \ 10 $ testrepohg locate \
11 > -X contrib/python-zstandard \ 11 > -X contrib/python-zstandard \
12 > -X hgext/fsmonitor/pywatchman \ 12 > -X hgext/fsmonitor/pywatchman \
13 > -X mercurial/thirdparty \ 13 > -X mercurial/thirdparty \
14 > -X mercurial/pythoncapi_compat.h \
14 > | sed 's-\\-/-g' | "$check_code" --warnings --per-file=0 - || false 15 > | sed 's-\\-/-g' | "$check_code" --warnings --per-file=0 - || false
15 Skipping contrib/automation/hgautomation/__init__.py it has no-che?k-code (glob) 16 Skipping contrib/automation/hgautomation/__init__.py it has no-che?k-code (glob)
16 Skipping contrib/automation/hgautomation/aws.py it has no-che?k-code (glob) 17 Skipping contrib/automation/hgautomation/aws.py it has no-che?k-code (glob)
17 Skipping contrib/automation/hgautomation/cli.py it has no-che?k-code (glob) 18 Skipping contrib/automation/hgautomation/cli.py it has no-che?k-code (glob)
18 Skipping contrib/automation/hgautomation/linux.py it has no-che?k-code (glob) 19 Skipping contrib/automation/hgautomation/linux.py it has no-che?k-code (glob)