[New-bugs-announce] [issue45428] py_compile fails to read filenames from stdin
Graham Inggs
report at bugs.python.org
Mon Oct 11 03:30:08 EDT 2021
New submission from Graham Inggs <ginggs at 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 <report at bugs.python.org>
<https://bugs.python.org/issue45428>
_______________________________________
More information about the New-bugs-announce
mailing list