]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[2.7] bpo-31221: patchcheck ignores external libraries (#3109) (#3118)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 17 Aug 2017 15:13:01 +0000 (17:13 +0200)
committerGitHub <noreply@github.com>
Thu, 17 Aug 2017 15:13:01 +0000 (17:13 +0200)
commitd45cb040b9fcd74e8824d417bf789fcef4c9592c
treeeb0054e94fb9370056d95b3fd343c4a5c860b023
parent3cc46bb3ed8005b1d9b74bcb08a9c01b99e84c63
[2.7] bpo-31221: patchcheck ignores external libraries (#3109) (#3118)

* bpo-31221: patchcheck ignores external libraries (#3109)

Tools/scripts/patchcheck.py now ignores changes in directories which
are copies of external libraries:

* Modules/_ctypes/libffi_msvc/
* Modules/_ctypes/libffi_osx/
* Modules/_decimal/libmpdec/
* Modules/expat/
* Modules/zlib/

Drop also support for Mercurial, since CPython migrated to Git.

Exclude also libmpdec

patchcheck: exclude also libffi_osx and libffi_msvc
(cherry picked from commit 4a347ce426fe7381885703d9074d7a6b3aeb2f2b)

* Exclude also Modules/_ctypes/libffi on Python 2.7

* Remove _decimal/libmpdec, not in Python 2.7
Tools/scripts/patchcheck.py