New submission from Graham Inggs <gin...@debian.org>:
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. ---------- components: Library (Lib) messages: 403624 nosy: ginggs priority: normal pull_requests: 27164 severity: normal status: open title: py_compile fails to read filenames from stdin type: behavior versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45428> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com