Larry Hastings added the comment:

One of the relevant PEPs (PEP 8?  PEP 7?  the annotations PEP?) states that the 
Python standard library is not permitted to use annotations.  And considering 
that Argument Clinic is an internal-only tool, we could probably justify the 
decision to not allow annotations to creep through.

That said, I think it's harmless, and it might be useful to somebody, so go 
ahead and propagate the annotation from the __text_signature__ into 
inspect.Signature if we get a valid one.  But please create a separate issue 
for it.  (I encourage you to cut-and-paste this text into the description of 
that new issue.)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20075>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to