SIGN IN SIGN UP

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.
S
Serhiy Storchaka committed
23cdbfa744f0ec0e9e7575d378df4cb758691cd3
Parent: feaefc7
Committed by GitHub <noreply@github.com> on 2/9/2018, 11:30:19 AM