Message 335919 - Python tracker

Message335919

Author methane
Recipients SylvainDe, methane, serhiy.storchaka, steven.daprano, vstinner, xtreak, yselivanov
Date 2019-02-19.10:24:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1550571848.45.0.307141808962.issue36026@roundup.psfhosted.org>
In-reply-to
Content
BTW, should we have different error message for class methods and instance mehtods?

* method: "descriptor 'X' for 'Y' objects doesn't apply to a 'Z' object"
* classmethod: "descriptor 'X' for 'Y' types doesn't apply to a 'Z' type"

Currently, classmethod notice about subtype, but instance method doesn't notice about subtype.
Should we notice about subtype in both error message?
Could someone write short, clear, and consistent error message?
History
Date User Action Args
2019-02-19 10:24:08methanesetrecipients: + methane, vstinner, steven.daprano, serhiy.storchaka, yselivanov, SylvainDe, xtreak
2019-02-19 10:24:08methanesetmessageid: <1550571848.45.0.307141808962.issue36026@roundup.psfhosted.org>
2019-02-19 10:24:08methanelinkissue36026 messages
2019-02-19 10:24:08methanecreate