[Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-30 Thread Jim Jewett
Jared Grubb wrote: > Ok, so if I understand, the situation is: > * python points to 2.x version > * python3 points to 3.x version > * need to be able to run certain 3k scripts from cmdline (since we're >talking about shebangs) using Python3k even though "python" >points to 2.x > So, if I

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-20 Thread Michael Foord
Jared Grubb wrote: On 19 Apr 2009, at 02:17, Stephen J. Turnbull wrote: Nick Coghlan writes: 3. Change the shebang lines in Python standard library scripts to be version specific and update release.py to fix them all when bumping the version number in the source tree. +1 I think that it's p

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-20 Thread Jared Grubb
On 19 Apr 2009, at 02:17, Stephen J. Turnbull wrote: Nick Coghlan writes: 3. Change the shebang lines in Python standard library scripts to be version specific and update release.py to fix them all when bumping the version number in the source tree. +1 I think that it's probably best to l

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-20 Thread Toshio Kuratomi
Greg Ewing wrote: > Steven Bethard wrote: > >> That's an unfortunate decision. When the 2.X line stops being >> maintained (after 2.7 maybe?) we're going to be stuck with the "3" >> suffix forever for the "real" Python. > > I don't see why we have to be stuck with it forever. > When 2.x has faded

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-19 Thread Martin v. Löwis
> The installer still leaves PATH alone by default, doesn't it? Correct. However, people frequently set the path "by hand", so they would probably appreciate a python3 binary (and pythonw3? python3w?). Of course, those people could also manually copy/rename the executable. > Although I guess cho

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-19 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Benjamin Peterson wrote: > 2009/4/18 Nick Coghlan : >> Benjamin Peterson wrote: >>> 2009/4/18 Mitchell L Model : Some library files, such as pdb.py, begin with #!/usr/bin/env python In various discussions regarding some issues I s

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-19 Thread Nick Coghlan
Martin v. Löwis wrote: >> I think that it's probably best to leave "python", "python2", and >> "python3" for the use of downstream distributors. ISTR that was what >> Guido concluded, in the discuss that led to Python 3 defaulting to >> altinstall---it wasn't just convenient because Python 3 is a

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-19 Thread Paul Moore
2009/4/19 Steven Bethard : > On Sat, Apr 18, 2009 at 8:14 PM, Benjamin Peterson > wrote: >> 2009/4/18 Nick Coghlan : >>> I see a few options: >>> 1. Abandon the "python" name for the 3.x series and commit to calling it >>> "python3" now and forever (i.e. actually make the decision that Mitchell >

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-19 Thread Martin v. Löwis
> I think that it's probably best to leave "python", "python2", and > "python3" for the use of downstream distributors. ISTR that was what > Guido concluded, in the discuss that led to Python 3 defaulting to > altinstall---it wasn't just convenient because Python 3 is a major > change, but that ex

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-19 Thread Stephen J. Turnbull
Nick Coghlan writes: > 3. Change the shebang lines in Python standard library scripts to be > version specific and update release.py to fix them all when bumping the > version number in the source tree. +1 I think that it's probably best to leave "python", "python2", and "python3" for the use

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-19 Thread Ned Deily
In article <49eab0c2.8040...@gmail.com>, Nick Coghlan wrote: > Steven Bethard wrote: > > On Sat, Apr 18, 2009 at 9:37 PM, Nick Coghlan wrote: > >> Note that such an approach would then require an altaltinstall command > >> in order to be able to install a specific version of python 3.x without >

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Greg Ewing
Nick Coghlan wrote: Note that such an approach would then require an altaltinstall command in order to be able to install a specific version of python 3.x without changing the python3 alias (e.g. installing 3.2 without overriding 3.1). Seems like what we need is something in between altinstall

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Greg Ewing
Steven Bethard wrote: That's an unfortunate decision. When the 2.X line stops being maintained (after 2.7 maybe?) we're going to be stuck with the "3" suffix forever for the "real" Python. I don't see why we have to be stuck with it forever. When 2.x has faded into the sunset, we can start ali

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Lennart Regebro
On Sun, Apr 19, 2009 at 05:51, Steven Bethard wrote: > That's an unfortunate decision. When the 2.X line stops being > maintained (after 2.7 maybe?) we're going to be stuck with the "3" > suffix forever for the "real" Python. Yes, but that's the only decision that really works. > Why doesn't it

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Allan McRae
Allan McRae wrote: Nick Coghlan wrote: Steven Bethard wrote: On Sat, Apr 18, 2009 at 9:37 PM, Nick Coghlan wrote: Note that such an approach would then require an altaltinstall command in order to be able to install a specific version of python 3.x without changing the python3 alias (e

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Allan McRae
Nick Coghlan wrote: Steven Bethard wrote: On Sat, Apr 18, 2009 at 9:37 PM, Nick Coghlan wrote: Note that such an approach would then require an altaltinstall command in order to be able to install a specific version of python 3.x without changing the python3 alias (e.g. installing 3.2

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Steven Bethard
On Sat, Apr 18, 2009 at 10:04 PM, Nick Coghlan wrote: > Steven Bethard wrote: >> On Sat, Apr 18, 2009 at 9:37 PM, Nick Coghlan wrote: >>> Note that such an approach would then require an altaltinstall command >>> in order to be able to install a specific version of python 3.x without >>> changing

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Nick Coghlan
Steven Bethard wrote: > On Sat, Apr 18, 2009 at 9:37 PM, Nick Coghlan wrote: >> Note that such an approach would then require an altaltinstall command >> in order to be able to install a specific version of python 3.x without >> changing the python3 alias (e.g. installing 3.2 without overriding 3.

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Steven Bethard
On Sat, Apr 18, 2009 at 9:37 PM, Nick Coghlan wrote: > Steven Bethard wrote: >> On Sat, Apr 18, 2009 at 8:14 PM, Benjamin Peterson >> wrote: >>> 2009/4/18 Nick Coghlan : I see a few options: 1. Abandon the "python" name for the 3.x series and commit to calling it "python3" now and

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Nick Coghlan
Steven Bethard wrote: > On Sat, Apr 18, 2009 at 8:14 PM, Benjamin Peterson > wrote: >> 2009/4/18 Nick Coghlan : >>> I see a few options: >>> 1. Abandon the "python" name for the 3.x series and commit to calling it >>> "python3" now and forever (i.e. actually make the decision that Mitchell >>> re

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Tony Nelson
At 20:51 -0700 04/18/2009, Steven Bethard wrote: >On Sat, Apr 18, 2009 at 8:14 PM, Benjamin Peterson >wrote: >> 2009/4/18 Nick Coghlan : >>> I see a few options: >>> 1. Abandon the "python" name for the 3.x series and commit to calling it >>> "python3" now and forever (i.e. actually make the decis

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Steven Bethard
On Sat, Apr 18, 2009 at 8:14 PM, Benjamin Peterson wrote: > 2009/4/18 Nick Coghlan : >> I see a few options: >> 1. Abandon the "python" name for the 3.x series and commit to calling it >> "python3" now and forever (i.e. actually make the decision that Mitchell >> refers to). > > I believe this was

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Nick Coghlan
Benjamin Peterson wrote: > 2009/4/18 Nick Coghlan : >> I see a few options: >> 1. Abandon the "python" name for the 3.x series and commit to calling it >> "python3" now and forever (i.e. actually make the decision that Mitchell >> refers to). > > I believe this was decided on sometime (the sprints

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Benjamin Peterson
2009/4/18 Nick Coghlan : > Benjamin Peterson wrote: >> 2009/4/18 Mitchell L Model : >>> Some library files, such as pdb.py, begin with >>>        #!/usr/bin/env python >>> In various discussions regarding some issues I submitted I was told that the >>> decision had been made to call Python 3.x rele

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Nick Coghlan
Benjamin Peterson wrote: > 2009/4/18 Mitchell L Model : >> Some library files, such as pdb.py, begin with >>#!/usr/bin/env python >> In various discussions regarding some issues I submitted I was told that the >> decision had been made to call Python 3.x release executables python3. (One >>

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Kevin Teague
On Apr 18, 2009, at 1:08 PM, Mitchell L Model wrote: Some library files, such as pdb.py, begin with #!/usr/bin/env python In various discussions regarding some issues I submitted I was told that the decision had been made to call Python 3.x release executables python3. (One of the co

Re: [Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Benjamin Peterson
2009/4/18 Mitchell L Model : > Some library files, such as pdb.py, begin with >        #!/usr/bin/env python > In various discussions regarding some issues I submitted I was told that the > decision had been made to call Python 3.x release executables python3. (One > of the conflicts I ran into whe

[Python-Dev] #!/usr/bin/env python --> python3 where applicable

2009-04-18 Thread Mitchell L Model
Some library files, such as pdb.py, begin with #!/usr/bin/env python In various discussions regarding some issues I submitted I was told that the decision had been made to call Python 3.x release executables python3. (One of the conflicts I ran into when I made 'python' a link to python