Re: [Python-Dev] urlparse.urlunsplit should be smarter about +

2010-05-10 Thread Stephen J. Turnbull
Senthil Kumaran writes: > Not all urls have the 'authority' component after the scheme. (sip > based urls for e.g) urlparse differentiates those by maintaining a > list of scheme names which will follow the pattern of parsing, and > joining for the urls which have a netloc (or authority compo

Re: [Python-Dev] urlparse.urlunsplit should be smarter about +

2010-05-10 Thread Senthil Kumaran
On Mon, May 10, 2010 at 05:11:12PM +0900, Stephen J. Turnbull wrote: > > Not all urls have the 'authority' component after the scheme. (sip > > based urls for e.g) urlparse differentiates those by maintaining a > > list of scheme names which will follow the pattern of parsing, and > > joining f

Re: [Python-Dev] urlparse.urlunsplit should be smarter about +

2010-05-10 Thread Stephen J. Turnbull
Senthil Kumaran writes: > I should have said, 'treatment of urls with authority' and 'treatment > of urls without authority' in terms of parsing and joining is as per > RFC. How it is doing practically is by maintaining a list of urls > with known scheme names which use_netloc. Why do that i

Re: [Python-Dev] What's New text on future maintenance

2010-05-10 Thread Barry Warsaw
On May 06, 2010, at 09:33 PM, Benjamin Peterson wrote: >I don't think there's any point in being hypothetical about. I believe >we've already said that maintence for 2.7 will last for at least 5 >years, so let's proclaim it. +1. If our goal is to move our community to Python 3, then I think we d

Re: [Python-Dev] PEP 7 updated

2010-05-10 Thread Ronald Oussoren
On 9 May, 2010, at 20:33, Antoine Pitrou wrote: > > Hello, > > The untabification of C files didn't produce any noticeable problem on > the buildbots. I've updated PEP 7 with the mention that all C files > should be 4-space indented, and removed the obsolete wording about > some files being in

Re: [Python-Dev] vim (was: PEP 7 updated)

2010-05-10 Thread Oleg Broytman
On Mon, May 10, 2010 at 04:09:06PM +0200, Ronald Oussoren wrote: > Does anyone know of a way to teach vim that C sources in a python checkout > should have 4-space indents without changing the defaults for other C files? BufReadPre /usr/local/src/Python/*/*.c set sts=4 sw=4 Oleg. -- Oleg

Re: [Python-Dev] vim (was: PEP 7 updated)

2010-05-10 Thread R. David Murray
On Mon, 10 May 2010 20:40:00 +0400, Oleg Broytman wrote: > On Mon, May 10, 2010 at 04:09:06PM +0200, Ronald Oussoren wrote: > > Does anyone know of a way to teach vim that C sources in a python checkout > > should have 4-space indents without changing the defaults for other C > > files? > > Bu

Re: [Python-Dev] vim (was: PEP 7 updated)

2010-05-10 Thread Brett Cannon
On Mon, May 10, 2010 at 11:10, R. David Murray wrote: > On Mon, 10 May 2010 20:40:00 +0400, Oleg Broytman wrote: > > On Mon, May 10, 2010 at 04:09:06PM +0200, Ronald Oussoren wrote: > > > Does anyone know of a way to teach vim that C sources in a python > checkout should have 4-space indents with

Re: [Python-Dev] PEP 7 updated

2010-05-10 Thread David Borowitz
On Mon, May 10, 2010 at 07:09, Ronald Oussoren wrote: > > On 9 May, 2010, at 20:33, Antoine Pitrou wrote: > > > > > Hello, > > > > The untabification of C files didn't produce any noticeable problem on > > the buildbots. I've updated PEP 7 with the mention that all C files > > should be 4-space i

Re: [Python-Dev] urlparse.urlunsplit should be smarter about +

2010-05-10 Thread Senthil Kumaran
On Mon, May 10, 2010 at 05:56:29PM +0900, Stephen J. Turnbull wrote: > Senthil Kumaran writes: > > > I should have said, 'treatment of urls with authority' and 'treatment > > of urls without authority' in terms of parsing and joining is as per > > RFC. How it is doing practically is by maintai