Pavel Roskin added the comment:
Thank you for the comments. I was annoyed by py_compile making files with names
very similar to the original scripts, names that could not even be recognized
by shell patterns in .gitignore unless scripts ending with "c" are banned. But
that
Pavel Roskin added the comment:
That's what I have now:
check:
$(PYTHON) -m py_compile $(SOURCES)
rm -f $(addsuffix c, $(SOURCES))
make check
python -m py_compile redacted-build redacted-git-diff redacted-git-gc
redacted-git-status redacted-init redacted-s
New submission from Pavel Roskin:
$ echo "'''Simple script'''" >simple-script
$ PYTHONDONTWRITEBYTECODE=1 python3 -B -m py_compile simple-script
$ ls __pycache__
simple-scriptcpython-35.pyc
py_compile should recognize when the user doesn't want t
Pavel Roskin added the comment:
I have tested the patch. It fixes the problem for me.
You are right, new programs would just supply translated help to the version
action. No effort would be saved.
But the programs updated from the deprecated syntax may rely on a separate
string list for