Re: [Python-Dev] Inconsistency between PEP492, documentation and behaviour of "async with"

2017-06-19 Thread Nick Coghlan
On 19 June 2017 at 16:35, Damien George wrote: > Hi all, > > Regarding the behaviour of the "async with" statement: it seems that the > description of it in PEP492, and the language documentation, do not match > the behaviour of CPython (v3.6.1). > > The PEP and the docs here: > https://www.python

Re: [Python-Dev] Inconsistency between PEP492, documentation and behaviour of "async with"

2017-06-19 Thread Damien George
> > Can someone please clarify the exact behaviour of "async with"? > > "async with" is expected to behave essentially the same way that > normal "with" does as far as return, break, and continue are concerned > (i.e. calling __aexit__ without an exception set, so it's more like > try/finally than