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 ginggs
Recipients ginggs
Date 2021-10-11.07:30:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1633937408.55.0.373736391126.issue45428@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-10-11 07:30:08ginggssetrecipients: + ginggs
2021-10-11 07:30:08ginggssetmessageid: <1633937408.55.0.373736391126.issue45428@roundup.psfhosted.org>
2021-10-11 07:30:08ginggslinkissue45428 messages
2021-10-11 07:30:08ginggscreate