[Python-Dev] Reindenting the C code base?

M.-A. Lemburg mal at egenix.com
Mon Dec 15 11:27:29 CET 2008

On 2008-12-14 21:43, Martin v. Löwis wrote:
>> Personally, I think the indentation of, at least,
>> Objects/unicodeobject.c should be fixed. This file has become so
>> mixed-up with tab and space indents that I have no-idea what to use
>> when I edit it. Just to give an idea how messy it is, they are 5214
>> lines indented with tabs and 4272 indented with spaces (out the 9733
>> of the file).
> As an Emacs variables block is present in the file, I would consider
> this normative, and declare that the official indenting is 4 spaces
> for the file, no tabs.

All the Unicode C code I wrote at the time used 4 space indents. I
would welcome this being restored. It got diluted over time.

Marc-Andre Lemburg

Professional Python Services directly from the Source  (#1, Dec 15 2008)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
2008-12-02: Released mxODBC.Connect 1.0.0      http://python.egenix.com/

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::

   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611

More information about the Python-Dev mailing list