Message 200037 - Python tracker (original) (raw)

After more thought, I think that suppress() isn't as clear as ignore() and it doesn't read as well in typical use cases. I'm assigning this one back to Nick to decide.

If you want to scan existing code for examples to see how well this would read, run this:

$ egrep -C2 "except( [A-Za-z]+)?:" *py  | grep -C2 "pass"