[Python-ideas] Historical revisionism and source file formatting

Nick Coghlan ncoghlan at gmail.com
Mon Apr 6 12:58:22 CEST 2009

Talin wrote:
> However - since we're going to be setting up a new DVCS anyway, I wonder
> if something along these lines would make sense as part of the
> migration. It might be a one-time opportunity to deal with this matter
> once and for all.

I think the folks working out the mechanics of the migration are going
to have enough to sort out without worrying about tab/space differences
in the C code.

Now, if someone could work out a way to do a hg diff that paid attention
to leading whitespace differences in .py and .rst files (where it
matters), but ignored all other whitespace only changes, then that would
be a useful tool in its own right (since it would be applicable to any
project with a mixed Python/non-Python source tree).


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-ideas mailing list