New submission from Yury Selivanov <yseliva...@gmail.com>:
There's no point in always creating a deque() for waiters in Lock.__init__. Not all locks end up using waiters. ---------- components: asyncio messages: 325997 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Optimize asyncio.Lock type: enhancement versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34767> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com