Re: [python-committers] Untabifying the C codebase

2010-05-10 Thread Barry Warsaw
On May 09, 2010, at 03: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). Thanks for doing something we've

Re: [python-committers] Untabifying the C codebase

2010-05-10 Thread Barry Warsaw
On May 09, 2010, at 09:01 PM, A.M. Kuchling wrote: >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 hap

Re: [python-committers] Untabifying the C codebase

2010-05-10 Thread Mark Dickinson
On Mon, May 10, 2010 at 2:25 PM, Barry Warsaw wrote: > On May 09, 2010, at 09: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? > > In Emacs, visit a C file and type: >

Re: [python-committers] Untabifying the C codebase

2010-05-10 Thread A.M. Kuchling
On Mon, May 10, 2010 at 03:25:05PM +0200, Barry Warsaw wrote: > 'python' is a standard c-mode indentation style, however it's set up to use > tabs. It should be updated, maybe to a 'python3' style? Here's a quick and > dirty hack: Thanks! I've carried out a re-indentation and whitespace cleanup

Re: [python-committers] Untabifying the C codebase

2010-05-10 Thread Brett Cannon
On Mon, May 10, 2010 at 07:02, Mark Dickinson wrote: > On Mon, May 10, 2010 at 2:25 PM, Barry Warsaw wrote: > > On May 09, 2010, at 09: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