Author pablogsal
Recipients gvanrossum, pablogsal, serhiy.storchaka
Date 2021-01-20.19:11:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611169912.4.0.960752392898.issue42978@roundup.psfhosted.org>
In-reply-to
Content
> I don't think this makes sense. How do you know there's a missing 'self'? Surely it's just as likely that there is indeed an extra argument. Especially if A.foo is defined by a library (stdib or 3rd party).

I use the same heuristic as Pypy: the callable is a bound method, the first name in the definition is not named "self" and it was called with n+1 positional arguments
History
Date User Action Args
2021-01-20 19:11:52pablogsalsetrecipients: + pablogsal, gvanrossum, serhiy.storchaka
2021-01-20 19:11:52pablogsalsetmessageid: <1611169912.4.0.960752392898.issue42978@roundup.psfhosted.org>
2021-01-20 19:11:52pablogsallinkissue42978 messages
2021-01-20 19:11:52pablogsalcreate