Deprecation warning due to invalid escape sequences in Python 3.8
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 84/100
Research direction
Start with glob2/fnmatch.py at line 141 and reproduce the warning using the Python 3.8 py_compile command shown in the issue. Update the invalid escape handling so the deprecation warning no longer appears, then rerun the command across the Python files to confirm it is gone.
Written by the indexing model from the issue text.
Description
find . -iname '*.py' | xargs -P 4 -I{} python3.8 -Wall -m py_compile {}
./glob2/fnmatch.py:141: DeprecationWarning: invalid escape sequence \Z
return '(?ms)' + res + '\Z'
- Dominant language
- Python
- Stars
- 125
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from miracle2k/python-glob2
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
miracle2k/python-glob2#30 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
miracle2k/python-glob2#29 ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
miracle2k/python-glob2#28 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
miracle2k/python-glob2#26 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
miracle2k/python-glob2#21 · 4 comments · 3 reactions ·
All issues in miracle2k/python-glob2
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100