Devin Jeanpierre added the comment:
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.")
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29986>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com