[Python-3000] Unbound methods -- keep creating API?

Nick Coghlan ncoghlan at gmail.com
Tue Nov 27 11:25:03 CET 2007


Guido van Rossum wrote:
> They have, if you only consider the *important* operations. For method
> descriptors the only thing you can count on is __call__. The rest are
> internal implementation details -- and besides, what would you expect
> im_func to be for a C function? :-)

I'd just never thought about it until this discussion. I realise now 
that there is no particular reason for them to be the same (beyond 
implementing __call__).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://www.boredomandlaziness.org


More information about the Python-3000 mailing list