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

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


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


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


----------

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


More information about the Python-bugs-list mailing list