[Python-checkins] r42576 - in python/trunk: Lib/copy.py Misc/Vim/syntax_test.py Misc/Vim/vim_syntax.py

Guido van Rossum gvanrossum at gmail.com
Sun Feb 26 18:14:45 CET 2006


On 2/26/06, Tim Peters <tim.peters at gmail.com> wrote:
> [Brett Cannon]
> > Any way to flag a file not to be whitespace normalized?
>
> All and only the .py files are run through reindent.py.
>
> > The syntax_test.py change was on purpose to test the flagging of
> > extraneous whitespace.
>
> Does it belong in the Python trunk?  If it does, and you can't give it
> a non-.py extension, then reindent.py will continue deleting trailing
> whitespace.

Perhaps you could generate the test file (or part of it) from a
triple-quoted string contained in another module, in such a way that
the other module can safely reindented?

--
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-checkins mailing list