[docs] [issue30707] Incorrect description of "async with" in PEP492 and documentation

Damien George report at bugs.python.org
Tue Jun 20 00:36:45 EDT 2017


New submission from Damien George:

The behaviour of the "async with" statement in CPython does not match the description of it in PEP492, nor the language documentation.  The implementation uses a try/except/finally block, while the PEP and documentation describe the behaviour using a try/except/else block.  The PEP and documentation should be updated to reflect the true intention of "async with".

----------

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


More information about the docs mailing list