[issue20326] Argument Clinic should use a non-error-prone syntax to mark text signatures

Serhiy Storchaka report at bugs.python.org
Tue Jan 21 19:57:34 CET 2014


Serhiy Storchaka added the comment:

What if the __text_signature__ and __doc__ getter will call ast.parse() (actually compile()) on signature candidate? If it fails, then builtin has no signature, the __text_signature__ getter returns '', and the __doc__ getter returns all original docstring.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20326>
_______________________________________


More information about the Python-bugs-list mailing list