mike bayer added the comment:

I've got something like that going on right now, but am doing it in the other 
direction; when I look at __call__(), I only do anything with it if it passes 
inspect.ismethod().  Since I only want plain Python __call__() functions on 
plain Python objects.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20828>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to