[issue37496] Support annotations in signature strings.
Guido van Rossum
report at bugs.python.org
Thu Aug 8 00:16:36 EDT 2019
Guido van Rossum <guido at python.org> added the comment:
> 1. Should I create a new function in the `ast` module that exposes that C function in Python in order to use it in `Lib/inspect.py`?
> 2. Would it be better to just re-use the _AST to string_ implementation in `Tools/unparse.py`?
I would vote for #1. If it is not up to the task that probably points to a flaw anyway.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37496>
_______________________________________
More information about the Python-bugs-list
mailing list