[issue14611] inspect.getargs fails on some anonymous tuples
Scott Sanderson
report at bugs.python.org
Wed Oct 7 19:54:34 EDT 2015
Scott Sanderson added the comment:
Note also that a much simpler repro for this issue is:
inspect.getargs(((x for _ in [0]) for x in [0]).gi_code)
This triggers the same issue because the inner generator expression closes over the loop variable of the outer expression, which causes us to hit the STORE_DEREF case instead of the STORE_FAST case.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14611>
_______________________________________
More information about the Python-bugs-list
mailing list