[Python-3000] Warning for 2.6 and greater

Aahz aahz at pythoncraft.com
Tue Jan 9 06:26:10 CET 2007


On Tue, Jan 09, 2007, Anthony Baxter wrote:
> On Monday 08 January 2007 22:53, Thomas Wouters wrote:
>>
>> (Also on my warn-TODO for 2.6 are coerce(), __get/set/delslice__
> 
> Should we warn on use of the __slice__ methods and the __cmp__ 
> method, or hook into the object code to warn when they're defined?
> I guess the latter would be more proactive. Or we could do both.

Hey!  What's this about __cmp__?!
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"Plus ca change, plus c'est la meme chose."


More information about the Python-3000 mailing list