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

2016-10-04 Thread Leonardo Santagada
On Mon, Oct 3, 2016 at 7:01 PM, Carl Friedrich Bolz wrote: > Ah, cool. Do you have a link to the mailing list discussion? Oh I really couldn't find it, maybe my memory is failing me (i did found a discussion from 2007 about something related to that (internationalization of messages, but there

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

2016-10-03 Thread Carl Friedrich Bolz
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

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

2016-10-03 Thread Leonardo Santagada
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 On Wed, Sep 28, 2016 at 8:17 AM, Maciej Fijalkowski wrote: > On Tue, Sep 27, 2016

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

2016-09-27 Thread Maciej Fijalkowski
On Tue, Sep 27, 2016 at 8:33 PM, Ryan Gonzalez wrote: > Have you considered bringing this up on python-ideas, too? python-idea is generally quite a hostile place. That said, if you think it's worth your effort to submit it there, feel free to do so, just the core pypy devs feel their time is bett

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

2016-09-27 Thread Ryan Gonzalez
Have you considered bringing this up on python-ideas, too? On Tue, Sep 27, 2016 at 12:19 PM, Carl Friedrich Bolz wrote: > Hi all, > > I read this paper today about common mistakes that Python beginners > make: > > https://www.researchgate.net/publication/307088989_Some_ > Trouble_with_Transparen

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

2016-09-27 Thread Maciej Fijalkowski
I'm +1 On Tue, Sep 27, 2016 at 7:19 PM, Carl Friedrich Bolz wrote: > Hi all, > > I read this paper today about common mistakes that Python beginners > make: > > https://www.researchgate.net/publication/307088989_Some_Trouble_with_Transparency_An_Analysis_of_Student_Errors_with_Object-oriented_Pyt

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

2016-09-27 Thread Carl Friedrich Bolz
Hi all, I read this paper today about common mistakes that Python beginners make: https://www.researchgate.net/publication/307088989_Some_Trouble_with_Transparency_An_Analysis_of_Student_Errors_with_Object-oriented_Python The most common one by far is forgetting the "self" parameter in the metho