[Python-Dev] [PEPs] Support the /usr/bin/python2 symlink upstream

Michael Foord fuzzyman at voidspace.org.uk
Mon Mar 14 22:29:31 CET 2011


On 07/03/2011 21:33, Glenn Linderman wrote:
> On 3/7/2011 4:00 PM, Michael Foord wrote:
>> On 07/03/2011 23:52, Greg Ewing wrote:
>>> Michael Foord wrote:
>>>
>>>>     - I doubt calling it python.exe will fly, but I'm not sure. If 
>>>> so what will you call what is currently 'python.exe'? - if not then 
>>>> "python foo.py" on the command line will *still* not work...
>>>
>>> However, if it's installed as the exe associated with the .py
>>> and .pyw extensions, then simply 'foo.py' on the command line
>>> *will* work, and will work better than it does now.
>>>
>> So long as '.py' and '.pyw' are set in the PATHEXT environment 
>> variable. (Which again the Python installer doesn't do by default.)
>
>
> No, PATHEXT only means you can invoke
>
> foo.py
>
> and
>
> foo
>
> and get the same results (sometimes, depending on what all in on PATH 
> and PATHEXT)

You're correct of course. My apologies.

Michael Foord

>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk


-- 
http://www.voidspace.org.uk/

May you do good and not evil
May you find forgiveness for yourself and forgive others
May you share freely, never taking more than you give.
-- the sqlite blessing http://www.sqlite.org/different.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20110314/7fd2a870/attachment-0001.html>


More information about the Python-Dev mailing list