Jonathan Crall added the comment:
This can be closed, but for completeness, the test you ran didn't verify that
the bug was fixed. This is because the hard coded compile flags I gave in my
example seem to have changed in Python 3.9 (is this documented?).
In python3.8 the compile flags I
Jonathan Crall added the comment:
Ah, sorry. I neglected all the important information.
I tested this using:
Python 3.9.0a5 (default, Apr 23 2020, 14:11:34)
[GCC 8.3.0]
Specifically, I ran in a docker container:
DOCKER_IMAGE=circleci/python:3.9-rc
docker pull $DOCKER_IMAGE
docker run
New submission from Jonathan Crall :
I first noticed this when testing xdoctest on Python 3.9, and then again when
using IPython.
I was finally able to generate a minimal working example in Python itself. The
following code:
python -c "print(eval(compile('[i for i in range(3)]', mode=