diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-06-05 09:39:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-05 09:39:03 (GMT) |
commit | 2f8aae38b9ce19dfd00356927a68cd00366331bc (patch) | |
tree | f0f466b433886157170e7403c18a197b00f4e1f7 /Lib/test/test_asyncio/test_locks.py | |
parent | 60adc4b92a8a6fe115a023c8f639a6de4730fac1 (diff) | |
download | cpython-2f8aae38b9ce19dfd00356927a68cd00366331bc.zip cpython-2f8aae38b9ce19dfd00356927a68cd00366331bc.tar.gz cpython-2f8aae38b9ce19dfd00356927a68cd00366331bc.tar.bz2 |
gh-89973: Fix re.error in the fnmatch module. (GH-93072)
Character ranges with upper bound less that lower bound (e.g. [c-a])
are now interpreted as empty ranges, for compatibility with other glob
pattern implementations. Previously it was re.error.
(cherry picked from commit 0902c3d8edf7ef67972dd95f6a21670f5d1a4251)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/test/test_asyncio/test_locks.py')
0 files changed, 0 insertions, 0 deletions