[issue20473] inspect.Signature no longer handles builtin classes correctly

Yury Selivanov report at bugs.python.org
Mon Feb 3 09:09:33 CET 2014


Yury Selivanov added the comment:

And also, reading Stefan in another issue, I'm a bit worried that
it may forcibly become a public API. Users tend to start using APIs 
before they are public, and that's especially true for python dunder 
attributes.

Maybe we should document '__text_signature__' and 'sig=', and 
explicitly state that it's a part of CPython private API, that likely 
to have some semantics/syntax changed in 3.5?

----------

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


More information about the Python-bugs-list mailing list