Re: [Python-ideas] Improve error message when missing 'self' in method definition

Oct. 5, 2016
12:16 p.m.
Hi all, A bit of shameless self-promotion but in case anyone interested, a while ago, I had started to work on a project to improve error message. In case anyone's interested, you can found everything at: https://github.com/SylvainDe/DidYouMean-Python . It can be invoked in different ways, one of them being a hook. For instance, you'd get something like:
There is still a lot to be done (and the main thing would be to make it pip installable) but it may be useful if the improved error messages do not make it to the CPython interpreter. Regards Sylvain
3087
Age (days ago)
3087
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sylvain Desodt