Striving for PEP-8 compliance
ldo at geek-central.gen.new_zealand
Fri Apr 9 18:31:58 EDT 2010
In message <4bbf6eb8$0$1670$742ec2ed at news.sonic.net>, John Nagle wrote:
> Lawrence D'Oliveiro wrote:
>> In message <mailman.1610.1270655932.23598.python-list at python.org>,
>> Gabriel Genellina wrote:
>>> If you only reindent the code (without adding/removing lines) then you
>>> can compare the compiled .pyc files (excluding the first 8 bytes that
>>> contain a magic number and the source file timestamp). Remember that
>>> code objects contain line number information.
>> Anybody who ever creates another indentation-controlled language should
>> be beaten to death with a Guido van Rossum voodoo doll.
> No ...
Yes, because otherwise you wouldn’t have stupid problems like the one which
is preoccupying this thread: how to make sure indentation is consistent
without introducing logic errors into the code.
More information about the Python-list