Larry Hastings added the comment:

Serhiy: I'm going to add PEP 457 features to the text signature, because
without them the inspect.Signature objects will be wrong.  So __doc__ and 
__text_signature__ would have to remove those first before handing the string 
to ast.parse.

I wasn't seriously proposing that __doc__ and __text_signature__ parse the 
string. That would obviously be a waste of CPU.  I was simply taking the 
argument to its logical extreme.

----------

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

Reply via email to