[issue19611] inspect.getcallargs doesn't properly interpret set comprehension code objects.

Jelle Zijlstra report at bugs.python.org
Thu Jun 2 17:03:27 EDT 2016


Jelle Zijlstra added the comment:

Since this only comes up with manually created functions (through calling types.FunctionType), I think it wouldn't be unreasonable to just not handle this case in the inspect module and close this as wontfix.

Ned, is there a use case for converting comprehension code objects to functions and inspecting them?

----------

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


More information about the Python-bugs-list mailing list