[issue24178] asyncio: support 'async with' for locks

Yury Selivanov report at bugs.python.org
Wed May 13 19:51:12 CEST 2015


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 <report at bugs.python.org>
<http://bugs.python.org/issue24178>
_______________________________________


More information about the Python-bugs-list mailing list