2013/10/13 Antoine Pitrou <solip...@pitrou.net>: > On Sun, 13 Oct 2013 22:50:07 +1000 > Nick Coghlan <ncogh...@gmail.com> wrote: >> That's the way this works (unless you think this is such a disastrous >> addition that you want to appeal to Guido to strip me of my >> responsibilities as contextlib maintainer and go hunting for a new >> one). > > Wow... I don't think challenging others to "strip you of your > responsibilities" is a reasonable way to address criticism. > > And for the record, it's not *my* objection; several other core > developers have said -1 too: Ezio, Serhiy, Giampaolo, etc.
You can also count me as -1: the context manager looks like it ignores the exception, whereas it does not: you exit immediatly the block when the exception occurs. It's maybe an issue with the name. Like Antoine, I'm not sure that we need a new context manage to save 2 lines. Victor _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com