[New-bugs-announce] [issue31879] Launcher fails on custom command starting with "python"
report at bugs.python.org
Thu Oct 26 13:01:08 EDT 2017
New submission from Robert <lma at posteo.de>:
In the "py.ini" file it is possible to specifiy customized commands (see https://www.python.org/dev/peps/pep-0397/#customized-commands).
Unfortunately it is not possible to specify custom commands beginning with one of the buildin names (i.e. "python" or "/usr/bin/python").
This means that if I want to provide a virtual command like "python-xyz" I get an error message "Invalid version specification: '-xyz'" instead of running the executable assigned to python-xyz.
I would provide a Pullrequest if you accept this change in behaviour.
nosy: mrh1997, paul.moore, steve.dower, tim.golden, zach.ware
title: Launcher fails on custom command starting with "python"
versions: Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce