[issue10049] Add a "no-op" (null) context manager to contextlib (Rejected: use contextlib.ExitStack())

Albert Zeyer report at bugs.python.org
Thu Nov 9 05:04:29 EST 2017


Albert Zeyer <albzey at googlemail.com> added the comment:

Note that this indeed seems confusing. I just found this thread by search for a null context manager. Because I found that in TensorFlow they introduced _NullContextmanager in their code and I wondered that this is not provided by the Python stdlib.

----------
nosy: +Albert.Zeyer

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue10049>
_______________________________________


More information about the Python-bugs-list mailing list