[Python-ideas] Possible PEP regarding the use of the continue keyword in try/except blocks

Anders Hovmöller boxed at killingar.net
Mon Jan 7 04:40:02 EST 2019


> You mean like this?
> 
> https://docs.python.org/3/library/contextlib.html#contextlib.suppress

Hah. Exactly. Maybe that is what the OP wanted in the first place?

It's always surprising how much stuff is in the standard lib even after all these years! Thanks for this. 

/ Anders


More information about the Python-ideas mailing list