STINNER Victor <[email protected]> added the comment:
> 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)]
----------
nosy: +vstinner
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40438>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com