Stefan Behnel added the comment: > Since this is a problem in Cython, not in CPython, maybe you can fix it in > Cython?
I'm actually considering that. Now that Signature.from_function() allows function-like types, it appears like it's the easiest solution to add a "__signature__" property to cyfunctions that does the necessary "from inspect import Signature, return Signature.from_function(self)" dance. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17159> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com