[python-committers] Untabifying the C codebase

Victor Stinner victor.stinner at haypocalc.com
Sun May 16 02:40:48 CEST 2010


Le lundi 10 mai 2010 03:01:11, A.M. Kuchling a écrit :
> 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 a
> set of settings for Emacs or for GNU indent for Python's C indentation
> style?

Done: revisions 81213, 81214-81216

I used untabify.py + emacs (python3 mode) + manual edit for 
Py_BEGIN_ALLOW_THREADS / Py_END_ALLOW_THREADS.

-- 
Victor Stinner
http://www.haypocalc.com/


More information about the python-committers mailing list