Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

> 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

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42978>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to