[issue13814] Document why generators don't support the context management protocol

Terry J. Reedy report at bugs.python.org
Mon Jun 21 18:03:09 EDT 2021


Terry J. Reedy <tjreedy at udel.edu> added the comment:


New changeset d881002fbdf12ddbd93db3e182dc5cdeb1f90386 by Miss Islington (bot) in branch '3.9':
bpo-13814: Explain why generators are not context managers (GH-26835)
https://github.com/python/cpython/commit/d881002fbdf12ddbd93db3e182dc5cdeb1f90386


----------

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


More information about the Python-bugs-list mailing list