[issue17680] self is lost if methods are callable objects

Christian Heimes report at bugs.python.org
Tue Apr 9 16:03:13 CEST 2013


Christian Heimes added the comment:

Your callable object has to implement the descriptor protocol. Otherwise the object isn't wrapped in a method object. http://docs.python.org/2/howto/descriptor.html

Please ask on the Python user list if you still need more information.

----------
nosy: +christian.heimes
resolution:  -> invalid
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17680>
_______________________________________


More information about the Python-bugs-list mailing list