[Python-Dev] RE: [Python-checkins] python/dist/src/Objects object.c,2.175,2.176

M.-A. Lemburg mal@lemburg.com
Mon, 03 Jun 2002 22:57:28 +0200


Tim Peters wrote:
> [Guido]
> 
>>Modified Files:
>>	object.c
>>Log Message:
>>Implement the intention of SF patch 472523 (but coded differently).
>>
>>In the past, an object's tp_compare could return any value.  In 2.2
>>the docs were tightened to require it to return -1, 0 or 1; and -1 for
>>an error.
>>
>>We now issue a warning if the value is not in this range.
>>...

Another one of these little changes that slipped my radar...
migration guide candidate.

>>I haven't decided yet whether to backport this to 2.2.x.  The patch
>>applies fine.  But is it fair to start warning in 2.2.2 about code
>>that worked flawlessly in 2.2.1?
> 
> 
> If 2.2.x is the Python-in-a-Tie line, I say "no way".  People wearing ties
> don't care whether a thing is right or wrong, so long as "it works" they
> simply don't want to hear about it at all.  Converting old extensions to
> avoid new warnings is a 2.3 task for them.

Since when do you wear a tie, Tim ? ;-) (or have you found a
new employer requiring this... comcast.net ?)

-- 
Marc-Andre Lemburg
CEO eGenix.com Software GmbH
______________________________________________________________________
Company & Consulting:                           http://www.egenix.com/
Python Software:                   http://www.egenix.com/files/python/
Meet us at EuroPython 2002:                 http://www.europython.org/