[Python-Dev] cpython: Rename contextlib.ignored() to contextlib.ignore().

Alexander Belopolsky alexander.belopolsky at gmail.com
Sun Oct 13 20:19:46 CEST 2013


On Sun, Oct 13, 2013 at 2:09 PM, R. David Murray <rdmurray at bitdance.com> wrote:
> with replaces try/finally, not try/except.

with ignore(..) is different.  This is one of the things that I like
about it - a demonstration of a context manager that replaces
try/except.


More information about the Python-Dev mailing list