You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AssertionError on python 2.7.9 in Werkzeug>=0.15.3 #1553
@DOlearczyk we'll try to fix this, but you're very far behind on patch updates to Python 2.7. There is no easy way we can test on different patch versions of Python, so you're always running the risk of weird bugs in this case.
I think I know how to fix this, but I'd like to reproduce it first, I tried with 2.7.9 but it doesn't trigger the assertion -- are you perchance using a debug build of python?
(I spent a ton of time trying to compile 2.7.9 on bionic, but libssl is too new for such an old python version 😆 -- ended up resorting to docker, see #1554 for the fix)
Activity
davidism commentedon May 20, 2019
@asottile 😢
It's ridiculous that direct bytecode manipulation appears to be a more stable API than the AST above it.
davidism commentedon May 20, 2019
@DOlearczyk we'll try to fix this, but you're very far behind on patch updates to Python 2.7. There is no easy way we can test on different patch versions of Python, so you're always running the risk of weird bugs in this case.
asottile commentedon May 20, 2019
I think I know how to fix this, but I'd like to reproduce it first, I tried with 2.7.9 but it doesn't trigger the assertion -- are you perchance using a debug build of python?
I guess I could follow my own docs for doing that 🤔
asottile commentedon May 20, 2019
(I spent a ton of time trying to compile 2.7.9 on bionic, but libssl is too new for such an old python version 😆 -- ended up resorting to docker, see #1554 for the fix)