[Python-Dev] Reindenting the C code base?

Antoine Pitrou solipsis at pitrou.net
Sat Dec 13 23:11:47 CET 2008


Guido van Rossum <guido <at> python.org> writes:
> 
> I think we should not do this. We should use 4 space indents for new
> files, but existing files should not be reindented.

Well, right now many files are indented with a mix of spaces and tabs, depending
on who did the edit and how their editor was configured at the time.

Perhaps a graceful policy would be to mandate that all new edits be made with
spaces without touching other functions in the file. Then hopefully the code
base would gradually converge to a tabless scheme.

Regards

Antoine.




More information about the Python-Dev mailing list