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

Chris Angelico rosuav at gmail.com
Mon Oct 10 23:31:25 EDT 2016


On Tue, Oct 11, 2016 at 2:29 PM, Stephen J. Turnbull
<turnbull.stephen.fw at u.tsukuba.ac.jp> wrote:
> Chris Angelico writes:
>
>  > Given that it's not changing semantics at all, just adding info/hints
>  > to an error message, it could well be added in a point release.
>
> But it does change semantics, specifically for doctests.

Blah, forgot about doctests. Guess that's off the cards for a point
release, then, but still, shouldn't be a big deal for 3.7.

ChrisA


More information about the Python-ideas mailing list