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

Nick Coghlan report at bugs.python.org
Thu Jun 2 19:35:36 EDT 2016


Nick Coghlan added the comment:

Oh, I see what you mean, now - we can special case the compiler-generated ".N" names when extracting the signature.

I like it - make the claimed parameter something like "implicit0" instead of ".0", mention that in the note on the docs, and folks may have some chance of working out what's going on if they manage to stumble across this behaviour.

----------

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


More information about the Python-bugs-list mailing list