[New-bugs-announce] [issue30071] Duck-typing inspect.isfunction()

Jeroen Demeyer report at bugs.python.org
Fri Apr 14 07:34:54 EDT 2017


New submission from Jeroen Demeyer:

Python is supposed to encourage duck-typing, but the "inspect" module doesn't follow this advice. A particular problem is that Cython functions are not recognized by the inspect module to be functions: http://cython.readthedocs.io/en/latest/src/userguide/limitations.html#inspect-support

----------
components: Library (Lib)
messages: 291647
nosy: jdemeyer, scoder
priority: normal
severity: normal
status: open
title: Duck-typing inspect.isfunction()
versions: Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7

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


More information about the New-bugs-announce mailing list