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

Yury Selivanov report at bugs.python.org
Thu Jun 2 15:49:16 EDT 2016


Yury Selivanov added the comment:

Jelle, regarding your patch: it would probably be a good idea to only accept ".0"-like names for POSITIONAL_ONLY parameters.  Since functions with positional-only parameters can only be created in C, that should make inspect.Parameter less error prone.

David, maybe this is something that can be fixed using the Arguments Clinic?  I'm not sure how to feel about parsing ".0" for parameter names.

----------

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


More information about the Python-bugs-list mailing list