[pypy-dev] improve error message when missing 'self' in method definition

Carl Friedrich Bolz cfbolz at gmx.de
Mon Oct 3 13:01:05 EDT 2016


On 03/10/16 10:53, Leonardo Santagada wrote:
> I've already proposed something like this a looong time ago and guido
> even said it is a good idea. I never got around to implementing it. How
> difficult would be to port this to CPython? The patch seems very concise

Ah, cool. Do you have a link to the mailing list discussion?

Anyway, the implementation is going to be slightly more complex, to
reduce the false positive rate. So I have no idea how easy it would be
to port to CPython.

Cheers,

Carl Friedrich



More information about the pypy-dev mailing list