[Python-checkins] r79071 - in python/branches/py3k: Doc/library/weakref.rst Include/code.h Lib/test/test_code.py Lib/test/test_sys.py Misc/NEWS Objects/codeobject.c

"Martin v. Löwis" martin at v.loewis.de
Tue Mar 23 00:00:53 CET 2010


>> Your changes were in "already-mixed" parts (the lines before were
>> using spaces and the lines after tabs), so it's not your fault.
>> I was going to fix it but there are about 500 lines that use tabs
>> and 50 that use spaces (in the _PyCode_CheckLineNumber function).
>> So, there are 4 possible solutions:
>> 1) leave it as it is;
>> 2) fix only the few mixed parts (lines 105, 316-7);
>> 3) convert _PyCode_CheckLineNumber to tabs;
>> 4) convert everything else to spaces.
> 
> There are many files that have this problem. Is it really worth fixing
> just this one?

I think we actually have a policy not to convert tabs to spaces, as this
would cause too many subsequent merge conflicts.

Regards,
Martin



More information about the Python-checkins mailing list