Compare source code

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Wed Nov 3 00:01:06 CET 2010


In message <ianem3$cuq$1 at reader1.panix.com>, Grant Edwards wrote:

> On 2010-11-01, Lawrence D'Oliveiro <ldo at geek-central.gen.new_zealand>
> wrote:
>
>> In message <8j8am4Fk2jU1 at mid.individual.net>, Peter Pearson wrote:
>>>
>>>>     diff -b oldfile newfile
>>> 
>>> Warning: "diff -b" won't detect changes in indentation.  Changes in
>>> indentation can change a Python program.
>>
>> I'm getting less and less keen on that particular feature of Python...
> 
> Why?
> 
> Other languages have similar problems if you remove salient bits of
> syntax before comparing two source files files.

But other languages don’t make those “salient bits of syntax” invisible. 
I.e. they are actually “salient”.



More information about the Python-list mailing list