[issue28697] asyncio.Lock, Condition, Semaphore docs don't mention `async with` syntax

2017-12-20 Thread Andrew Svetlov
Andrew Svetlov added the comment: Fixed by recent docs update for Python 3.7 -- nosy: +asvetlov resolution: -> fixed stage: -> resolved status: open -> closed versions: -Python 3.5, Python 3.6 ___ Python tracker

[issue28697] asyncio.Lock, Condition, Semaphore docs don't mention `async with` syntax

2016-11-15 Thread Ulrich Petri
New submission from Ulrich Petri: The docs for asyncio's Lock, Condition and Semaphore should use the new clean `async with lock:` syntax instead of the older (and IMO rather ugly) `with (yield from lock):` version. -- assignee: docs@python components: Documentation, asyncio messages: