This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients Damien George, docs@python, ncoghlan, yselivanov
Date 2017-06-20.05:38:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The specific issue is that early exits from an "async with" statement are actually defined the same way they for synchronous with statements: exiting early via return, break, or continue, is the same as reaching the end of the try block.

However, that's not what the documentation currently says: it describes "async with" in terms of try/except/else, which isn't correct.
Date User Action Args
2017-06-20 05:38:31ncoghlansetrecipients: + ncoghlan, docs@python, yselivanov, Damien George
2017-06-20 05:38:31ncoghlansetmessageid: <>
2017-06-20 05:38:31ncoghlanlinkissue30707 messages
2017-06-20 05:38:31ncoghlancreate