New submission from Eric Snow <ericsnowcurren...@gmail.com>:
In early 2014 (3.3), when argument clinic was added, we added support for turning func.__text_signature__ into an inspect.Signature object. However, at that time we did not add support for annotations (see the nested "parse_name()" in _signature_fromstr(). Annotations should be supported. I'd expect that PEP 563 (Postponed Evaluation of Annotations) could be leveraged. ---------- components: Library (Lib) messages: 347247 nosy: eric.snow priority: normal severity: normal stage: needs patch status: open title: Support annotations in signature strings. type: enhancement versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37496> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com