[issue20075] help(open) eats first line

Larry Hastings report at bugs.python.org
Fri Dec 27 20:11:25 CET 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue20075>
_______________________________________


More information about the Python-bugs-list mailing list