Compare source code
Grant Edwards
invalid at invalid.invalid
Fri Nov 5 14:07:07 EDT 2010
On 2010-11-05, Tim Harig <usernet at ilthio.net> wrote:
> On 2010-11-05, Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au> wrote:
>> On Thu, 04 Nov 2010 21:47:59 +0000, Tim Harig wrote:
>>
>>> I have seen huge patches caused by nothing more then some edit that
>>> accidently added a trailing space to a large number of lines. White
>>> space mangling happens all the time without people even knowing about
>>> it.
And how does that affect a Python program? The same as it does a C
program.
>> How does an edit accidentally add a trailing space to a large number of
>> lines?
>
> Putting it back in context, it doesn't matter. Seeb's point stands.
> diff -b was designed because there are so many tools and channels that
> mangle whitespace. Changes in something such as brace style would make
> non-whitespace changes that would not be eliminated by diff -b.
>
> Probably the biggest reason for -b is for handling the differences in line
> endings used on different platforms.
Different line-endings are tolerated by Python just as well as they
are by C.
--
Grant Edwards grant.b.edwards Yow! They collapsed
at ... like nuns in the
gmail.com street ... they had no
teen appeal!
More information about the Python-list
mailing list