Yury Selivanov added the comment: > I'm OK with the patch as is, but I'm definitely concerned about the > maintainability of inspect.signature in general.
I agree, _signature_from_callable is getting quite complex. The good news is that we have a very good test coverage for signatures. As for a big block comment -- it might be useful. OTOH the code of _signature_from_callable is mostly if..else statements with calls to helpers and recursion. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24298> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com