Skip to content

Fix all DeprecationWarning: invalid escape sequence#2

Merged
cool-RR merged 1 commit intocool-RR:masterfrom
BoboTiG:fix-deprecation-warning-invalid-escape-sequence
Apr 27, 2019
Merged

Fix all DeprecationWarning: invalid escape sequence#2
cool-RR merged 1 commit intocool-RR:masterfrom
BoboTiG:fix-deprecation-warning-invalid-escape-sequence

Conversation

@BoboTiG
Copy link
Copy Markdown
Contributor

@BoboTiG BoboTiG commented Apr 24, 2019

Hello,

This is the last patch for this kind of warnings, they should be all fixed now:

source_py2/python_toolbox/address_tools/shared.py:10: DeprecationWarning: invalid escape sequence \.
  "^(?P<address>([a-zA-Z_][0-9a-zA-Z_]*)(\.[a-zA-Z_][0-9a-zA-Z_]*)*)$"

I used this command to track them down:

python3 -Wall -m compileall -q -f *

Signed-off-by: Mickaël Schoentgen contact@tiger-222.fr

Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
@BoboTiG
Copy link
Copy Markdown
Contributor Author

BoboTiG commented Apr 24, 2019

Note that I launched tests with Python 2.7.16 and 3.6.8: all OK.

@cool-RR cool-RR merged commit 52e9748 into cool-RR:master Apr 27, 2019
@cool-RR
Copy link
Copy Markdown
Owner

cool-RR commented Apr 27, 2019

Great work @BoboTiG !

@BoboTiG BoboTiG deleted the fix-deprecation-warning-invalid-escape-sequence branch April 27, 2019 09:31
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 this pull request may close these issues.

2 participants