This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pablogsal
Recipients gvanrossum, pablogsal, serhiy.storchaka
Date 2021-01-20.21:00:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1611176435.76.0.849730196164.issue42978@roundup.psfhosted.org>
In-reply-to
Content
> Do you also exclude class and static methods?

Yup, there is a test in the PR for that IIRC

>I still worry that this might confuse users when a library for some reason uses a different name than 'self'.

That's a good point but I think it should be fine because the old error is still there and the new part is formulated as a question (did you forgot ...?). We have other errors where we are not completely sure and we formulate the suggestion as a question. Some examples are the new error for incomplete imports and some missing coma errors.
History
Date User Action Args
2021-01-20 21:00:35pablogsalsetrecipients: + pablogsal, gvanrossum, serhiy.storchaka
2021-01-20 21:00:35pablogsalsetmessageid: <1611176435.76.0.849730196164.issue42978@roundup.psfhosted.org>
2021-01-20 21:00:35pablogsallinkissue42978 messages
2021-01-20 21:00:35pablogsalcreate