[Python-ideas] Add contextlib.DummyContext

Barry Warsaw barry at python.org
Wed May 18 15:21:13 EDT 2016


On May 18, 2016, at 08:11 AM, Ethan Furman wrote:

>Not at all.  It's a good use-case, and it helped introduce/remind us about
>ExitStack (which I suspect is a hidden gem).

A beautiful one.

http://www.wefearchange.org/2013/05/resource-management-in-python-33-or.html

Cheers,
-Barry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160518/97f23523/attachment.sig>


More information about the Python-ideas mailing list