Recursion limit problems

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Tue May 15 23:34:36 EDT 2007


En Tue, 15 May 2007 09:28:52 -0300, Diez B. Roggisch <deets at nospam.web.de>  
escribió:

>> with the same hash value.
>> That is, you should define __hash__ and one of (__cmp__ or __eq__).
>> __neq__ (inequality) isn't required nor used by dict/set implementation.
>> (Anyway, Python will transform a!=b into not(a==b), if __neq__ isn't
>> defined). Neither <, <=, >, >= are used.
>
> No, it won't:
>
> http://docs.python.org/ref/customization.html#l2h-190

Ouch, sorry, my bad!

-- 
Gabriel Genellina




More information about the Python-list mailing list