Yury Selivanov added the comment: > There's a major difference between getfullargspec/getargspec and > inspect.signature: getfullargspec shows you the "self" parameter for bound > methods, and inspect.signature does not.
Larry, yes, that's correct. The attached patch simulates this behaviour, with: if ismethod(func): func = func.__func__ I'm attaching 'getargsspec_03.patch', as the previous one (02) was a bit crippled. ---------- Added file: http://bugs.python.org/file33755/getargsspec_03.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17481> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com