[issue37497] Add inspect.Signature.from_text().

Yury Selivanov report at bugs.python.org
Fri Mar 6 15:46:18 EST 2020


Yury Selivanov <yselivanov at gmail.com> added the comment:

I'd be fine with `Signature.from_text()`, but not with `Signature` constructor / `signature()` function accepting both callable and string arguments. Overall, I think that we ought to have a real need to add this new API, so unless there's a good (or any, really) use case I'd say we shouldn't merge this now.

----------

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


More information about the Python-bugs-list mailing list