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 Jonathan Crall, vstinner
Date 2020-04-29.15:04:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588172667.39.0.907651450427.issue40438@roundup.psfhosted.org>
In-reply-to
Content
> I first noticed this when testing xdoctest on Python 3.9, and then again when using IPython.

What is your Python 3.9 exact version number?

I cannot reproduce your issue with Python 3.9.0a6:

vstinner@apu$ ./python -c "print(eval(compile('[i for i in range(3)]', mode='eval', filename='foo', flags=221184)))"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ValueError: compile(): unrecognised flags

vstinner@apu$ ./python -VV
Python 3.9.0a6+ (heads/master:9a8c1315c3, Apr 29 2020, 17:03:41) 
[GCC 9.3.1 20200408 (Red Hat 9.3.1-2)]
History
Date User Action Args
2020-04-29 15:04:27vstinnersetrecipients: + vstinner, Jonathan Crall
2020-04-29 15:04:27vstinnersetmessageid: <1588172667.39.0.907651450427.issue40438@roundup.psfhosted.org>
2020-04-29 15:04:27vstinnerlinkissue40438 messages
2020-04-29 15:04:27vstinnercreate