[issue20712] Make inspect agnostic about whether functions are implemented in Python or C

Antoine Pitrou report at bugs.python.org
Fri Feb 21 15:54:33 CET 2014


Antoine Pitrou added the comment:

The docs are quite clear about that:

  inspect.ismethod(object)

    Return true if the object is a bound method written in Python.

In other words, this is not a bug, and there's probably code in the wild relying on it.

----------
nosy: +ncoghlan, pitrou

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


More information about the Python-bugs-list mailing list