[New-bugs-announce] [issue17159] Remove explicit type check from inspect.Signature.from_function()
report at bugs.python.org
Fri Feb 8 16:20:30 CET 2013
New submission from Stefan Behnel:
I can't see a reason why Signature.from_function() should explicitly check the type of the object being passed in. As long as the object has all required attributes, it should be accepted.
This is specifically an issue with Cython compiled functions, which are not Python functions but look the same.
components: Library (Lib)
title: Remove explicit type check from inspect.Signature.from_function()
versions: Python 3.3, Python 3.4
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce