Skip to content

[2.7] bpo-31221: patchcheck ignores external libraries (#3109) - #3118

Merged
vstinner merged 3 commits into
python:2.7from
vstinner:patchcheck27
Aug 17, 2017
Merged

vstinner merged 3 commits into
python:2.7from
vstinner:patchcheck27

Conversation

@vstinner

@vstinner vstinner commented Aug 17, 2017 •

Copy link
Copy Markdown
Member

Exclude also Modules/_ctypes/libffi on Python 2.7.

https://bugs.python.org/issue31221

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 4a347ce)
Comment thread Tools/scripts/patchcheck.py Outdated
EXCLUDE_DIRS = [os.path.join('Modules', '_ctypes', 'libffi'),
os.path.join('Modules', '_ctypes', 'libffi_osx'),
os.path.join('Modules', '_ctypes', 'libffi_msvc'),
os.path.join('Modules', '_decimal', 'libmpdec'),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not in 2.7.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ooops, right :-) Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

5 participants