[issue23967] Make inspect.signature expression evaluation more powerful

Eric Wieser report at bugs.python.org
Mon Mar 30 10:20:17 EDT 2020


Eric Wieser <wieser.eric at gmail.com> added the comment:

> To make this work I had to write an ast printer that produces evaluatable Python code.  Note that it's not complete, I know it's not complete, it's missing loads of operators.  Assume that if this is a good idea I will add all the missing operators.

Now that `ast.unparse` is in (bpo-38870), can this patch be simplified?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue23967>
_______________________________________


More information about the Python-bugs-list mailing list