[issue10049] Add a "no-op" (null) context manager to contextlib
Alexander Jones added the comment: Not having this as a standard idiom makes it very tempting to just do copy-paste coding as in hniksic's example. Who likes to invent their own library for generic language-supporting idioms? What about an alternative of giving NoneType empty enter and
[issue10049] Add a "no-op" (null) context manager to contextlib
Alexander Jones added the comment: That's very reassuring. Thanks, Nick! -- ___ Python tracker <http://bugs.python.org/issue10049> ___ ___ Python-bugs-list m