[Python-3000] callable()

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Jul 24 03:45:48 CEST 2006


Guido van Rossum wrote:
> I propose to take the same approach as for callable: if it has
> __hash__ we consider it hashable even though the hash may fail

Fair enough, although since object has __hash__
we end up concluding that everything is
hashable except when it isn't. :-)

--
Greg


More information about the Python-3000 mailing list