Message365327
NotImplemented is documented as only being used for binary operators: https://docs.python.org/3/library/constants.html#NotImplemented
Changing that seems like a pretty large issue. I'd suggest discussing this on python-ideas.
Maybe better for your situation is to actually raise NotImplementedError yourself, or ValaueError if that's what you really want to see.
Changing version numbers, since this feature could only go in to 3.9. |
|
Date |
User |
Action |
Args |
2020-03-30 15:43:44 | eric.smith | set | recipients:
+ eric.smith, Hameer Abbasi |
2020-03-30 15:43:44 | eric.smith | set | messageid: <1585583024.25.0.831646321873.issue40117@roundup.psfhosted.org> |
2020-03-30 15:43:44 | eric.smith | link | issue40117 messages |
2020-03-30 15:43:44 | eric.smith | create | |
|