[Python-Dev] Fixing incorrect indentations in C files (Decoder functions accept str in py3k) (original) (raw)

Kristján Valur Jónsson kristjan at ccpgames.com
Thu Jan 8 12:36:49 CET 2009


Oh dear. C code indented by spaces? I'll give up programming then. Just set your editor tab size to 4 and all is well. K

-----Original Message----- From: python-dev-bounces+kristjan=ccpgames.com at python.org [mailto:python-dev-bounces+kristjan=ccpgames.com at python.org] On Behalf Of M.-A. Lemburg Sent: 8. janúar 2009 09:49 To: Collin Winter Cc: Antoine Pitrou; python-dev at python.org Subject: Re: [Python-Dev] Fixing incorrect indentations in C files (Decoder functions accept str in py3k)

Or better yet, really bite the bullet and just reindent everything to spaces. Not every one uses vim or emacs, nor do all tools understand their modelines. FYI, there are options to svn blame and git to skip whitespace-only changes.

+1... and this should be done for both trunk and the 3.x branch in a single checkin to resync them.



More information about the Python-Dev mailing list