[New-bugs-announce] [issue25609] Add a ContextManager ABC and type

Brett Cannon report at bugs.python.org
Thu Nov 12 14:14:39 EST 2015


New submission from Brett Cannon:

There should probably be a context manager ABC in collections.abc that requires __enter__/__exit__ and a matching entry in `typing` that also takes a type argument of what the __enter__ method returns.

----------
components: Library (Lib)
keywords: easy
messages: 254546
nosy: brett.cannon, gvanrossum
priority: normal
severity: normal
stage: needs patch
status: open
title: Add a ContextManager ABC and type
versions: Python 3.6

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


More information about the New-bugs-announce mailing list