Re: [Python-Dev] New update to PEP397 - Python launcher for Windows

2011-07-21 Thread Stephen J. Turnbull
Glenn Linderman writes: > I note in passing that '/usr/bin/env python' is hard-coded in the > launcher, which conforms to the above documentation. A single character (space or tab) is also hard-coded in Emacs's python-mode. > But there is no hard requirement in Unix, if I correctly understan

Re: [Python-Dev] New update to PEP397 - Python launcher for Windows

2011-07-21 Thread Glenn Linderman
On 7/20/2011 11:35 PM, Mark Hammond wrote: Virtual commands in shebang lines: Virtual Commands are shebang lines which start with strings which would be expected to work on Unix platforms - examples include '/usr/bin/python', '/usr/bin/env python' and 'python'. Optionally, the

Re: [Python-Dev] New update to PEP397 - Python launcher for Windows

2011-07-21 Thread Glenn Linderman
On 7/20/2011 11:35 PM, Mark Hammond wrote: Customized Commands: The launcher will support the ability to define "Customized Commands" in a Windows .ini file (ie, a file which can be parsed by the Windows function GetPrivateProfileString). A section called '[commands]' can be crea

Re: [Python-Dev] New update to PEP397 - Python launcher for Windows

2011-07-21 Thread Mark Hammond
On 21/07/2011 10:13 PM, anatoly techtonik wrote: If you're going to include this into standard Python distribution, it needs more attention from _users_. As a user, I can not find any references to any user stories in this PEP article. Abstract chapter is totally useless Could you please be a l

Re: [Python-Dev] New update to PEP397 - Python launcher for Windows

2011-07-21 Thread Brian Curtin
On Jul 21, 2011 7:15 AM, "anatoly techtonik" wrote: > > If you're going to include this into standard Python distribution, it > needs more attention from _users_. As a user, I can not find any > references to any user stories in this PEP article. Abstract chapter > is totally useless > > "This PEP

Re: [Python-Dev] New update to PEP397 - Python launcher for Windows

2011-07-21 Thread anatoly techtonik
If you're going to include this into standard Python distribution, it needs more attention from _users_. As a user, I can not find any references to any user stories in this PEP article. Abstract chapter is totally useless "This PEP (named 'Python launcher for Windows') describes a Python launcher

Re: [Python-Dev] New update to PEP397 - Python launcher for Windows

2011-07-21 Thread Mark Hammond
On 21/07/2011 6:32 PM, Glenn Linderman wrote: On 7/20/2011 11:35 PM, Mark Hammond wrote: * If the command starts with the definition of a customized command followed by a space character, the customized command will be used. See below for a description of customized commands.

Re: [Python-Dev] New update to PEP397 - Python launcher for Windows

2011-07-21 Thread Glenn Linderman
On 7/20/2011 11:35 PM, Mark Hammond wrote: * If the command starts with the definition of a customized command followed by a space character, the customized command will be used. See below for a description of customized commands. Then a shebang line of '#! vpython' in

[Python-Dev] New update to PEP397 - Python launcher for Windows

2011-07-20 Thread Mark Hammond
I've updated PEP 397 - "Python launcher for Windows" based on recent discussions and Vinay's implementation. http://www.python.org/dev/peps/pep-0397/ and a copy is attached for your convenience. The main changes are: * All mentions of the Python reference implementation have been removed no