[Python-Dev] Fun with whitespace

Tim Peters tim.peters at gmail.com
Sun Jul 18 19:13:28 CEST 2004


[Tim[
...
> Checking in all the changes is proving to be a challenge, ...

Using "cvs admin -uREV file" managed to break the mysterious version
locks that were holding this up, and it's done now.  Running "reindent
-r ." from the root of a checkout now leaves everything alone.  That
in turns means that all the .py files in the checkout:

- Use 4-space indent levels.
- Contain no hard tabs.
- Have no trailing whitespace on any line.
- End with a newline character.

The "-u all" tests pass on WinXP, in release and debug builds.

Apologies in advance if breakage occurred on other platforms, but code
relying on trailing whitespace-- or hard tab characters --in .py files
is so non-WYSIWYG it needed to be repaired anyway.  The good news is
that it's dead easy to keep the tree in whitespace-pristine shape now.


More information about the Python-Dev mailing list