Skip to content
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

Deprecation warning due to invalid escape sequences in Python 3.7 #409

Open
tirkarthi opened this issue Feb 16, 2020 · 0 comments · May be fixed by #410
Open

Deprecation warning due to invalid escape sequences in Python 3.7 #409

tirkarthi opened this issue Feb 16, 2020 · 0 comments · May be fixed by #410

Comments

@tirkarthi
Copy link

Deprecation warning are raised due to invalid escape sequences. This can be fixed by using raw string or escaping them.

find . -iname '*.py'  | xargs -P 4 -I{} python -Walways -m py_compile {}

./geocoder/uscensus.py:36: DeprecationWarning: invalid escape sequence \d
  match = re.search('^\d+', self.address, re.UNICODE)
NickCrews added a commit to NickCrews/usaddress-scourgify that referenced this issue Jan 26, 2024
I am running into DenisCarriere/geocoder#409
caused by geocoder.
This is preventing me from using
scourgify at all in newer python versions.
I am not using geocoder, so it shouldn't
even be installed.
NickCrews added a commit to NickCrews/usaddress-scourgify that referenced this issue Jan 26, 2024
I am running into DenisCarriere/geocoder#409
caused by geocoder.
This is preventing me from using
scourgify at all in newer python versions.
I am not using geocoder, so it shouldn't
even be installed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant