[Python-Dev] Introducing the ``make check`` command

Brett Cannon brett at python.org
Tue Mar 18 22:29:40 CET 2008


On Tue, Mar 18, 2008 at 4:09 PM, Isaac Morland <ijmorlan at cs.uwaterloo.ca> wrote:
> On Tue, 18 Mar 2008, Brett Cannon wrote:
>
>  > Lastly, I would like to have it strip trailing whitespace in C files.
>  > The only problem is that I don't know if removing trailing whitespace
>  > could possibly cause a problem or not. Anyone know?
>
>  I would be worried about the sequence backslash-space-newline.  Off the
>  top of my head I can't see why that would occur in valid code, but
>  dropping the space would give you an escaped newline which could be
>  different from the original.  I'd be worried about some weird case related
>  to macro expansion or definition.
>
>  http://gcc.gnu.org/onlinedocs/cppinternals/Lexer.html has some information
>  related to the Gnu C preprocessor which may be relevant.
>

Weird code is not allowed. =)

>  Have you considered also forcing Mac "\r" and DOS "\r\n" line endings to
>  Unix "\n" style?
>

We let svn handle that.

-Brett


More information about the Python-Dev mailing list