[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Modules mmapmodule.c,2.1,2.2

M.-A. Lemburg mal@lemburg.com
Fri, 31 Mar 2000 09:42:04 +0200


"Barry A. Warsaw" wrote:
> 
> >>>>> "Guido" == Guido van Rossum <guido@cnri.reston.va.us> writes:
> 
>     Guido> Modified Files: mmapmodule.c Log Message: Hacked for Win32
>     Guido> by Mark Hammond.  Reformatted for 8-space tabs and fitted
>     Guido> into 80-char lines by GvR.
> 
> Can we change the 8-space-tab rule for all new C code that goes in?  I
> know that we can't practically change existing code right now, but for
> new C code, I propose we use no tab characters, and we use a 4-space
> block indentation.

Why not just leave new code formatted as it is (except maybe
to bring the used TAB width to the standard 8 spaces used throughout
the Python C source code) ?

BTW, most of the new unicode stuff uses 4-space indents.
Unfortunately, it mixes whitespace and tabs since Emacs 
c-mode doesn't do the python-mode magic yet (is there a
way to turn it on ?).

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/