[issue25609] Add a ContextManager ABC and type

Brett Cannon report at bugs.python.org
Fri Mar 18 18:49:08 EDT 2016


Brett Cannon added the comment:

Here is an initial patch to add AbstractContextManager and ContextManagerType to contextlib. There are no tests yet as I want to make sure this looks okay first.

----------
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file42209/contextmanagertype.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25609>
_______________________________________


More information about the Python-bugs-list mailing list