Re: [Python-Dev] [Python-ideas] Proposed addtion to urllib.parse in 3.1 (and urlparse in 2.7)

2009-04-18 Thread Nick Coghlan
Steven Bethard wrote: > On Mon, Apr 13, 2009 at 1:14 PM, Mart Sõmermaa wrote: >> A default behaviour should be found that works according to most >> user's expectations so that they don't need to use the positional >> arguments generally. > > I believe the usual Python approach here is to have tw

Re: [Python-Dev] Issue5434: datetime.monthdelta

2009-04-18 Thread Lennart Regebro
On Thu, Apr 16, 2009 at 08:18, Jess Austin wrote: > hi, > > I'm new to python core development, and I've been advised to write to > python-dev concerning a feature/patch I've placed at > http://bugs.python.org/issue5434, with Rietveld at > http://codereview.appspot.com/25079. > > This patch adds a

[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

Re: [Python-Dev] [Python-ideas] Proposed addtion to urllib.parse in 3.1 (and urlparse in 2.7)

2009-04-18 Thread Mart Sõmermaa
On Sat, Apr 18, 2009 at 3:41 PM, Nick Coghlan wrote: > Yep - Guido has pointed out in a few different API design discussions > that a boolean flag that is almost always set to a literal True or False > is a good sign that there are two functions involved rather than just > one. There are exception

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

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] [Python-ideas] Proposed addtion to urllib.parse in 3.1 (and urlparse in 2.7)

2009-04-18 Thread Nick Coghlan
Mart Sõmermaa wrote: > On Sat, Apr 18, 2009 at 3:41 PM, Nick Coghlan wrote: >> Yep - Guido has pointed out in a few different API design discussions >> that a boolean flag that is almost always set to a literal True or False >> is a good sign that there are two functions involved rather than just

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 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 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 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 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 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 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 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 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 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 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 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 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 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