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: +chr
New submission from Roman Rader:
Some strange behavior is observed while method in object substitutes with
callable object.
For example:
-
class Meth(object):
def __call__(*args, **kwargs):
print (args, kwargs)
class X(object):
def some_metho