Soni L. writes:
> Can we call this "antichecked exceptions"?
I don't see why not. Personally I'd prefer calling it "exception
filtering" since it's not a property of the exception, but a pattern
in the calling code. But I'm only -0 on "antichecked" and +0 on
"filtered".
> (Is this the wrong
PEP 479 introduced this idea that basically boils down to raising your
exceptions only when you mean it.
Specifically: generators only raise StopIteration when they
return/exit/terminate. And they prevent the user from raising it under
other circumstances.
Can we call this "antichecked exceptions