• Victor Stinner's avatar
    [2.7] bpo-31221: patchcheck ignores external libraries (#3109) (#3118) · d45cb040
    Victor Stinner authored
    * 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 4a347ce4)
    
    * Exclude also Modules/_ctypes/libffi on Python 2.7
    
    * Remove _decimal/libmpdec, not in Python 2.7
    d45cb040
patchcheck.py 8.35 KB