Author Devin Jeanpierre
Recipients Devin Jeanpierre, docs@python, r.david.murray, rhettinger
Date 2017-04-05.00:15:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491351320.7.0.708286063549.issue29986@psf.upfronthosting.co.za>
In-reply-to
Content
Yeah, I agree there might be a use-case (can't find one offhand, but in principle), but I think it's rare enough that you're more likely to be led astray from reading this note -- almost always, NotImplemented does what you want.

In a way this is a special case of being able to raise an exception at all, which is mentioned earlier ("if another error occurred it must return NULL and set an exception condition.")
History
Date User Action Args
2017-04-05 00:15:20Devin Jeanpierresetrecipients: + Devin Jeanpierre, rhettinger, r.david.murray, docs@python
2017-04-05 00:15:20Devin Jeanpierresetmessageid: <1491351320.7.0.708286063549.issue29986@psf.upfronthosting.co.za>
2017-04-05 00:15:20Devin Jeanpierrelinkissue29986 messages
2017-04-05 00:15:20Devin Jeanpierrecreate