commit | 23cdbfa744f0ec0e9e7575d378df4cb758691cd3 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Fri Feb 09 13:30:19 2018 +0200 |
committer | GitHub <noreply@github.com> | Fri Feb 09 13:30:19 2018 +0200 |
tree | 3801132c5618951ad64c32f9609bb2524a55eff3 | |
parent | feaefc7f60cd3be7bf4ecc2b73e77d2bfe048403 [diff] |
bpo-32775: Fix regular expression warnings in fnmatch. (#5583) fnmatch.translate() no longer produces patterns which contain set operations. Sets starting with '[' or containing '--', '&&', '~~' or '||' will be interpreted differently in regular expressions in future versions. Currently they emit warnings. fnmatch.translate() now avoids producing patterns containing such sets by accident.