Re: [Python-Dev] PEP 7 updated

2010-05-13 Thread Brett Cannon
Feel free to look at Misc/Vim/python.vim and see if this works better than what is already there. On Wed, May 12, 2010 at 20:47, Trent Nelson 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 oth

Re: [Python-Dev] PEP 7 updated

2010-05-12 Thread Trent Nelson
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? I use this in my vimrc: "" " indentation: use detectindent plugi

Re: [Python-Dev] PEP 7 updated

2010-05-11 Thread Antoine Pitrou
Le mardi 11 mai 2010 à 16:44 -0700, Sridhar Ratnakumar a écrit : > Nor did it break any of our ActivePython 2.7 (Python trunk) builds ... > though I had to hand-edit the patches to use 4 spaces now. Will this > untabification change be made to the `release2.6-maint` branch too? It has already been

Re: [Python-Dev] PEP 7 updated

2010-05-11 Thread Sridhar Ratnakumar
Nor did it break any of our ActivePython 2.7 (Python trunk) builds ... though I had to hand-edit the patches to use 4 spaces now. Will this untabification change be made to the `release2.6-maint` branch too? -srid On 2010-05-09, at 11:33 AM, Antoine Pitrou wrote: > > Hello, > > The untabific

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

[Python-Dev] PEP 7 updated

2010-05-09 Thread Antoine Pitrou
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 indented with tabs. Regards Antoine. _