[python-committers] Untabifying the C codebase

A.M. Kuchling amk at amk.ca
Mon May 10 22:15:03 CEST 2010


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 in
the sandbox/curses/ directory; it still compiles & passes its tests,
such as they are.  Does someone want to take a brief glance at the
resulting code to double-check?

http://svn.python.org/view/sandbox/trunk/curses/_cursesmodule.c?revision=81054&view=markup

I can commit this to trunk.  Presumably merging this change to 3.x
would fail horribly; for 3.x, should I just carry out the same set of
steps (apply some small coding cleanups that could probably be merged
from trunk, then re-indent using Emacs)?

--amk


More information about the python-committers mailing list