Author ncoghlan
Recipients ncoghlan, serhiy.storchaka
Date 2017-09-18.13:46:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1505742382.14.0.0440711364336.issue31506@psf.upfronthosting.co.za>
In-reply-to
Content
For this issue, I'm not proposing to make any change other than to solve the specific problem reported in the blog post: when the method itself isn't overridden, then the error message should report the name of the most derived class, not "object", to help users more readily find the likely source of their problem (a missing "__init__" method definition).

Making these custom errors consistent with Python 3's otherwise improved argument unpacking errors would be a separate issue (and I agree *that* change wouldn't qualify as being easy).
History
Date User Action Args
2017-09-18 13:46:22ncoghlansetrecipients: + ncoghlan, serhiy.storchaka
2017-09-18 13:46:22ncoghlansetmessageid: <1505742382.14.0.0440711364336.issue31506@psf.upfronthosting.co.za>
2017-09-18 13:46:22ncoghlanlinkissue31506 messages
2017-09-18 13:46:22ncoghlancreate