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 bugs.python.org instead of asyncio GH repo. Please review. ---------- assignee: yselivanov components: asyncio files: alock.patch keywords: patch messages: 243102 nosy: asvetlov, gvanrossum, haypo, yselivanov priority: normal severity: normal stage: patch review status: open title: asyncio: support 'async with' for locks type: enhancement versions: Python 3.5 Added file: http://bugs.python.org/file39361/alock.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24178> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com