Fixed in #55
https://docs.python.org/3/reference/lexical_analysis.html#unrecognized-escape-sequences
Changed in version 3.12: Unrecognized escape sequences produce a SyntaxWarning.
In a future Python version, they will raise a SyntaxError.
https://docs.python.org/3/whatsnew/3.12.html#other-language-changes
.venv/lib/python3.13/site-packages/httpbin/helpers.py:38: SyntaxWarning: invalid escape sequence '_'
venv/lib/python3.13/site-packages/httpbin/helpers.py:84: SyntaxWarning: invalid escape sequence '\ '
\ .-" "-. /
venv/lib/python3.13/site-packages/httpbin/helpers.py:444: SyntaxWarning: invalid escape sequence '\s'
match = re.search('\s*(W/)?"?([^"])"?\s', part)
|
match = re.search('\s*(W/)?\"?([^"]*)\"?\s*', part) |
Fixed in #55
https://docs.python.org/3/reference/lexical_analysis.html#unrecognized-escape-sequences
https://docs.python.org/3/whatsnew/3.12.html#other-language-changes
.venv/lib/python3.13/site-packages/httpbin/helpers.py:38: SyntaxWarning: invalid escape sequence '_'
httpbin/httpbin/helpers.py
Line 38 in e32f993
venv/lib/python3.13/site-packages/httpbin/helpers.py:84: SyntaxWarning: invalid escape sequence '\ '
\ .-"
"-. /httpbin/httpbin/helpers.py
Line 84 in e32f993
venv/lib/python3.13/site-packages/httpbin/helpers.py:444: SyntaxWarning: invalid escape sequence '\s'
match = re.search('\s*(W/)?"?([^"])"?\s', part)
httpbin/httpbin/helpers.py
Line 444 in e32f993