[Python-3000] callable()

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Fri Jul 28 09:19:42 CEST 2006


Stefan Behnel <behnel_ml at gkec.informatik.tu-darmstadt.de> writes:

> It just says: I support the protocol, so it makes sense to apply the
> protocol operations to me if you need to.
>
> I think that's perfectly reasonable semantics for the three functions.

I see no essential difference between an object which doesn't support
a protocol at all, and an object for which using the given protocol
always fails.

What is hashable() useful for, especially if so loosely defined?

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/


More information about the Python-3000 mailing list