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 aeros
Recipients aeros, docs@python, eric.araujo, ezio.melotti, jdemeyer, mdk, rhettinger, veky, willingc
Date 2019-09-05.06:46:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1567665982.12.0.0473294221547.issue37934@roundup.psfhosted.org>
In-reply-to
Content
> As you say, we currently have only one usage of NotImplemented outside its intended purpose. Maybe we should wait to see whether it becomes at least a little bit more popular, before thinking about blessing it.

> I know at least 3 in CPython, so it's not so rare to use NotImplemented for something else than binary operators


I'm thinking that it might be worthwhile to start a discussion about this on python-dev, to see what the others think about how the NotImplemented docs should be defined, and whether or not it should be used outside of binary operators.

Based on the feedback from Raymond and Vedran, I'm in agreement that it might not be the best idea in the long term to keep adding additional use cases to the documentation. But, it really doesn't make much sense to me that the constant is entirely defined around a single use case in the doc while we're using it for other purposes throughout CPython.
History
Date User Action Args
2019-09-05 06:46:22aerossetrecipients: + aeros, rhettinger, ezio.melotti, eric.araujo, docs@python, jdemeyer, willingc, veky, mdk
2019-09-05 06:46:22aerossetmessageid: <1567665982.12.0.0473294221547.issue37934@roundup.psfhosted.org>
2019-09-05 06:46:22aeroslinkissue37934 messages
2019-09-05 06:46:21aeroscreate