Yury Selivanov added the comment: > The difference is that inspect.signature is not friendly to Signature > subclasses. Without from_callable you can't customize the behavior in > inspect.signature easily.
OK, suppose you have "Signature.from_callable". You then create a subclass MySignature, and override it. How can you customize 'inspect.signature' to use the MySignature class? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17373> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com