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 martin.panter
Recipients doko, martin.panter, rpetrov, shiz, yan12125
Date 2015-11-26.00:41:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448498484.71.0.172768911858.issue22100@psf.upfronthosting.co.za>
In-reply-to
Content
What is $HOSTPYTHON? It does not appear to be used or mentioned anywhere. You mention it as if it is commonly known, but if you are proposing a new configuration variable, perhaps you should document it.

The Gnu version of “which” seems to work fine with relative paths, though I know it is not a standardized command. Can you explain what your problem with relative paths is? Maybe we can find a cleaner way to check if a command exists, e.g. use “command -v”.

$ which ./python && echo Success
/media/disk/home/proj/python/cpython/python
Success

Can you explain the problem with PYTHONPATH and the —S addition? If we really need it, a comment would be good. What is the difference between your $HOSTPYTHON case and the original python3 etc cases, where it is not needed?

Also, did you test your patch? Your —S argument uses a UTF-8 em dash, which would be interpreted as a script file name, rather than an ASCII dash for the -S option.
History
Date User Action Args
2015-11-26 00:41:24martin.pantersetrecipients: + martin.panter, doko, rpetrov, shiz, yan12125
2015-11-26 00:41:24martin.pantersetmessageid: <1448498484.71.0.172768911858.issue22100@psf.upfronthosting.co.za>
2015-11-26 00:41:24martin.panterlinkissue22100 messages
2015-11-26 00:41:24martin.pantercreate