question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Invalid escape sequence in part_query.py

See original GitHub issue
/home/travis/build/xesscorp/skidl/skidl/part_query.py:329
  /home/travis/build/xesscorp/skidl/skidl/part_query.py:329: DeprecationWarning: invalid escape sequence \(
    set(re.findall("\(\s*pad\s+([^\s)]+)", " ".join(module_text)))

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
xesscorpcommented, Dec 10, 2019

Even a blind squirrel finds a nut once and a while!

0reactions
johnthagencommented, Dec 10, 2019

@xesscorp Ah, I see what you’re saying. You’re right, you did it correctly. 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

invalid escape sequence" in Python? - Stack Overflow
A backslash isn't valid when not followed by one of the valid escape sequences, and newer versions of Python print a deprecation warning....
Read more >
Why does Python log a DeprecationWarning saying “invalid ...
The warning “invalid escape sequence” is telling you that you've written \ and then an unsupported character. Python still interprets the string ...
Read more >
Deprecation warning due to invalid escape sequences. #2414
Description Deprecation warning due to invalid escape sequences. Using raw strings or escaping them again helps in resolving this.
Read more >
Raise non-silent warning for invalid escape sequences
Back in Python 3.6, a silent warning was added for all invalid escape sequences in str and bytes. It was suggested that it...
Read more >
False Positive Warning "Invalid Escape Sequences" in regular ...
PyCharm outputs "PEP 8: invalid escape sequence '\('" which is a False Positive Warning. N.B.: regex may be used without the re module...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found