[issue20828] inspect.getargspec() returns wrong answer with datetime.today.__call__()

mike bayer report at bugs.python.org
Sun Mar 2 23:04:51 CET 2014


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 <report at bugs.python.org>
<http://bugs.python.org/issue20828>
_______________________________________


More information about the Python-bugs-list mailing list