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 thatiparthy
Recipients thatiparthy
Date 2017-12-31.11:44:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1514720672.06.0.467229070634.issue32464@psf.upfronthosting.co.za>
In-reply-to
Content
I ran these queries on cpython repo.

➜  cpython git:(master) ✗ grep -r . -e return  --include=\*.py  | grep NotImplemented | wc -l
196

➜  cpython git:(master) ✗ grep -r . -e raise   --include=\*.py  | grep NotImplemented | wc -l
295

I have always used raise NotImplemented or raise NotImplementedError. But when does it make sense to return NotImplemented?
History
Date User Action Args
2017-12-31 11:44:32thatiparthysetrecipients: + thatiparthy
2017-12-31 11:44:32thatiparthysetmessageid: <1514720672.06.0.467229070634.issue32464@psf.upfronthosting.co.za>
2017-12-31 11:44:32thatiparthylinkissue32464 messages
2017-12-31 11:44:31thatiparthycreate