8000 gh-89973: Fix re.error in the fnmatch module. by serhiy-storchaka · Pull Request #93072 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-89973: Fix re.error in the fnmatch module. #93072

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Misc/NEWS.d/next/Library/2022-05-22-16-08-01.gh-issue-89973.jc…
…-Q4g.rst

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
  • Loading branch information
serhiy-storchaka and hauntsaninja authored May 25, 2022
commit 9b65639bd397cf717f575db3dc20be6193707ade
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Fix :exc:`re.error` raised in :mod:`fnmatch` if the patterna contains
character range with upeer bound lower than lower bound (e.g. ``[c-a]``).
Fix :exc:`re.error` raised in :mod:`fnmatch` if the pattern contains a
character range with upper bound lower than lower bound (e.g. ``[c-a]``).
Now such ranges are interpreted as empty ranges.
0