-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
aiohttp webserver with python 3.7 broken #1839
Comments
That's seems like regression in cpython. |
Oh, right, I didn't check the documentation for "re" -- after looking at compiled.pattern I think you're correct. |
The python folks say that re.escape() was escaping too much in the past, and has been fixed. Their response to my bug report was to add more documentation to "porting to 3.7". http://bugs.python.org/issue29995 -- bug for re.escape over-escaping http://bugs.python.org/issue30147 -- my bug report So, basically, they say your test is now wrong. |
does it work with "python -OO "? |
Yes, python 3.7-dev passes with "python -OO". Which is pretty weird.
|
but does web server work? |
@asvetlov could you look into this problem too? |
@wumpus thanks for raising the issue |
…eme and host resolution (#1881) * #1134 Support X-Forwarded-* and Forwarded implicitly * #1134 tests * added myself to contributors * added line to changes.rst * Update CHANGES.rst * Update CHANGES.rst * deprecating secure_proxy_ssl_header * more extensive Forwarded parsing * flake * make isort with new parameters * Fix #1839: python 3.7 regression for regexp escaping (#1908) * Fix #1839: python 3.7 regression for regexp escaping * Fix import sort order * small changes * unpacking tuple implicit * #1134 Support X-Forwarded-* and Forwarded implicitly * #1134 tests * added myself to contributors * added line to changes.rst * deprecating secure_proxy_ssl_header * more extensive Forwarded parsing * flake * small changes * unpacking tuple implicit * handling multiple field-values, fixed quoted-pair bug (now using vchar instead of tchar), changed return type of forwarded
I have python3.7-dev and python-nightly in my CI script. Recently they started failing when I call app.router.add_get()
This is a minimal reproducer, works on 3.6 and fails on 3.7-dev
Python 3.7-dev output:
python 3.6.0 output (success):
This is the actual traceback my full app gets in 3.7-dev and aiohttp-2.0.7:
Your environment
The above 3.6 and 3.7 output was run on CentOS 7 with python installed by pyenv.
The text was updated successfully, but these errors were encountered: