Message403624
py_compile fails to read a list of filenames to be compiled from standard input. This is a regression in 3.10.
example
files-to-compile.txt is a text file containing hello.py and goodbye.py on separate lines. hello.py and goodbye.py must exist.
python3.10 -m py_compile - <files-to-compile.txt
[Errno 2] No such file or directory: 'hello.py\n'
python3.9 -m py_compile - <files-to-compile.txt
python3.9 produces no output, but a __pycache__ directory is created and contains the byte-code files. |
|
Date |
User |
Action |
Args |
2021-10-11 07:30:08 | ginggs | set | recipients:
+ ginggs |
2021-10-11 07:30:08 | ginggs | set | messageid: <1633937408.55.0.373736391126.issue45428@roundup.psfhosted.org> |
2021-10-11 07:30:08 | ginggs | link | issue45428 messages |
2021-10-11 07:30:08 | ginggs | create | |
|