Re: [python-committers] Untabifying the C codebase

2010-05-09 Thread Guilherme Polo
2010/5/9 Alexandre Vassalotti : > On Sun, May 9, 2010 at 6:01 PM, A.M. Kuchling wrote: >> I'm happy to see the curses module re-indented.  Does anyone have a >> set of settings for Emacs or for GNU indent for Python's C indentation >> style? >> > > This invocation of GNU indent should work reasona

Re: [python-committers] Untabifying the C codebase

2010-05-09 Thread Alexandre Vassalotti
On Sun, May 9, 2010 at 6:01 PM, A.M. Kuchling wrote: > I'm happy to see the curses module re-indented.  Does anyone have a > set of settings for Emacs or for GNU indent for Python's C indentation > style? > This invocation of GNU indent should work reasonably well: indent \ --no-tabs \ --ind

Re: [python-committers] Untabifying the C codebase

2010-05-09 Thread A.M. Kuchling
On Sun, May 09, 2010 at 06:56:27PM +0200, Antoine Pitrou wrote: > There was one file that I didn't touch: Modules/_cursesmodule.c > Indentation is so uncommon there that interested people should reformat > it themselves, if desired. I'm happy to see the curses module re-indented. Does anyone have

Re: [python-committers] Untabifying the C codebase

2010-05-09 Thread Gregory P. Smith
On Sun, May 9, 2010 at 1:22 PM, Antoine Pitrou wrote: > Le dimanche 09 mai 2010 à 22:04 +0200, Victor Stinner a écrit : >> Le dimanche 09 mai 2010 18:56:27, Antoine Pitrou a écrit : >> > This was done in r81029 (trunk), r81031 (2.6), r81032 (3.x) and r81033 >> > (3.1). I'm mentioning the revision

Re: [python-committers] Untabifying the C codebase

2010-05-09 Thread Antoine Pitrou
Le dimanche 09 mai 2010 à 22:04 +0200, Victor Stinner a écrit : > Le dimanche 09 mai 2010 18:56:27, Antoine Pitrou a écrit : > > This was done in r81029 (trunk), r81031 (2.6), r81032 (3.x) and r81033 > > (3.1). I'm mentioning the revision numbers because it seems > > python-checkins blocked the dif

Re: [python-committers] Untabifying the C codebase

2010-05-09 Thread Victor Stinner
Le dimanche 09 mai 2010 18:56:27, Antoine Pitrou a écrit : > This was done in r81029 (trunk), r81031 (2.6), r81032 (3.x) and r81033 > (3.1). I'm mentioning the revision numbers because it seems > python-checkins blocked the diffs, sensibly enough. Does "make patchcheck" detect tab indentation and

Re: [python-committers] Untabifying the C codebase

2010-05-09 Thread Antoine Pitrou
> Following discussion on python-dev, I plan to untabify the C codebase > this afternoon. It would probably be better if nobody modified any C files > in the meantime (except those that already use 4 space indents). > > I expect the whole operation to take a couple of hours. This was done in r810

Re: [python-committers] Untabifying the C codebase

2010-05-09 Thread Mark Dickinson
On Sun, May 9, 2010 at 2:39 PM, Antoine Pitrou wrote: > > Following discussion on python-dev, I plan to untabify the C codebase > this afternoon. It would probably be better if nobody modified any C files > in the meantime (except those that already use 4 space indents). Are you brave, or mad, or

[python-committers] Untabifying the C codebase

2010-05-09 Thread Antoine Pitrou
Hello, Following discussion on python-dev, I plan to untabify the C codebase this afternoon. It would probably be better if nobody modified any C files in the meantime (except those that already use 4 space indents). I expect the whole operation to take a couple of hours. Regards Antoine.