miracle2k / miracle2k/python-glob2
Deprecation warning due to invalid escape sequences in Python 3.8
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 125
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
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'
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.
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.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 84/100