This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients BTaskaya, arcivanov, dino.viehland, lukasz.langa, vstinner
Date 2020-08-10.13:10:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597065032.88.0.120050304004.issue41261@roundup.psfhosted.org>
In-reply-to
Content
> 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")
---
History
Date User Action Args
2020-08-10 13:10:32vstinnersetrecipients: + vstinner, dino.viehland, lukasz.langa, arcivanov, BTaskaya
2020-08-10 13:10:32vstinnersetmessageid: <1597065032.88.0.120050304004.issue41261@roundup.psfhosted.org>
2020-08-10 13:10:32vstinnerlinkissue41261 messages
2020-08-10 13:10:32vstinnercreate