Hello, On Fri, 11 Oct 2013 07:39:48 +0200 (CEST) raymond.hettinger <python-check...@python.org> wrote: > http://hg.python.org/cpython/rev/f014b5f0773f > changeset: 86209:f014b5f0773f > user: Raymond Hettinger <pyt...@rcn.com> > date: Thu Oct 10 22:39:39 2013 -0700 > summary: > Rename contextlib.ignored() to contextlib.ignore().
I don't think that this contextlib.ignore() thing has been discussed a lot. Ezio was -1 on the tracker, and Eric Smith was -0. I'd like to add my -1 too. This is a useless addition (the traditional idiom is perfectly obvious) and makes reading foreign code more tedious by adding superfluous API calls. Please consider reverting. There is absolutely zero use case for this that wasn't already solved by the traditional "except ...: pass" idiom. Regards Antoine. _______________________________________________ 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