STINNER Victor <[email protected]> added the comment:
> From what I understand an RC1 is being released for 3.9. This is a gentle
> reminder that there is no fix for this yet.
I wrote PR 21807 to backport my changes from master to 3.9.
My PR fix a crash on 3.9 with the following script:
---
import sys
PyCF_ONLY_AST = 1024
tree = compile("x+y", "filename", "exec", PyCF_ONLY_AST)
import _ast
assert PyCF_ONLY_AST == _ast.PyCF_ONLY_AST
compile(tree, "filename", "exec")
del sys.modules['_ast']
import _ast
compile(tree, "filename", "exec")
---
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue41261>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com