Yury Selivanov added the comment:
Guido, thanks for review. Closing the issue.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24178
New submission from Yury Selivanov:
The attached patch makes Locks, Conditions, Semaphores, and BoundedSemaphores
support new 'async with' syntax.
Because the patch contains a file that will only be checked in to the CPython
repo (test_pep492.py), I decided to create the issue on
Yury Selivanov added the comment:
Updated patch is attached:
- '__aenter__' returns None
- with await lock is now supported.
--
Added file: http://bugs.python.org/file39363/alock_2.patch
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 616f15f05530 by Yury Selivanov in branch 'default':
Issue 24178: support 'async with' for asyncio locks.
https://hg.python.org/cpython/rev/616f15f05530
--
nosy: +python-dev
___
Python tracker