commit | 2220dc50df3746dee568bd36eda88e6cdc83b542 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Sun Jun 05 02:39:11 2022 -0700 |
committer | GitHub <noreply@github.com> | Sun Jun 05 02:39:11 2022 -0700 |
tree | f7a2297b8f80784acb14f49a5496cbbb6e64491b | |
parent | a8bd502e575e2b9f60660425e6458477445c93d5 [diff] |
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>