diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-02-09 11:56:50 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2018-02-09 11:56:50 (GMT) |
| commit | 0e361730b0954f7560640dd932f00f507e328c45 (patch) | |
| tree | a227f44872eb964e0d7f69612043b3a60eb89a69 /Python/dup2.c | |
| parent | 105fcbfd6a91abea0ecd71e53651f39ad6f6039b (diff) | |
| download | cpython-0e361730b0954f7560640dd932f00f507e328c45.zip cpython-0e361730b0954f7560640dd932f00f507e328c45.tar.gz cpython-0e361730b0954f7560640dd932f00f507e328c45.tar.bz2 | |
bpo-32775: Fix regular expression warnings in fnmatch. (GH-5583) (GH-5596)
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.
(cherry picked from commit 23cdbfa744f0ec0e9e7575d378df4cb758691cd3)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/dup2.c')
0 files changed, 0 insertions, 0 deletions
