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

Victor Stinner victor.stinner at haypocalc.com
Thu Jan 8 11:27:58 CET 2009


Le Thursday 08 January 2009 10:48:53 M.-A. Lemburg, vous avez écrit :
> svn blame -x "-b" will do the trick for SVN. Perhaps there's even
> some .subversion/config option to set this globally.
>
> The question really is: How often do Python developers use svn blame ?

I use "svn blame" to find a revision number but then I read the commit. There 
are not only spaces changes, sometimes a newline is inserted, or a function 
is just moved, or...

> The question to put up against this is: How often do you get
> irritated by lines not being correctly indented ?

Regulary when I work on patches. Some files in Modules/*c mix spaces and 
tabs :-/ I would prefer spaces everywhere or tabs everywhere, but please 
don't mix both.

--

I also hate trailing spaces. My editor is configured to remove them and so I 
have to use >svn diff --diff-cmd="/usr/bin/diff" -x "-ub"< to ignore any 
space change, which break some patches :-/ So if you choose to change the 
indentation, i would be nice to run also >sed "s/[ \t]\+$//g -i/< ;-)

-- 
Victor Stinner aka haypo
http://www.haypocalc.com/blog/


More information about the Python-Dev mailing list