This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author simonw
Recipients asvetlov, simonw, yselivanov
Date 2021-10-08.20:38:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1633725486.09.0.458280505164.issue45416@roundup.psfhosted.org>
In-reply-to
Content
It looks like the relevant test is here: https://github.com/python/cpython/blob/a1092f62492a3fcd6195bea94eccf8d5a300acb1/Lib/test/test_asyncio/test_locks.py#L722-L727 def test_explicit_lock(self): lock = asyncio.Lock() cond = asyncio.Condition(lock) self.assertIs(cond._lock, lock) self.assertIs(cond._loop, lock._loop) But... that test doesn't appear to run inside an event loop, so it's not covering the behaviour described in this issue.
History
Date User Action Args
2021-10-08 20:38:06simonwsetrecipients: + simonw, asvetlov, yselivanov
2021-10-08 20:38:06simonwsetmessageid: <1633725486.09.0.458280505164.issue45416@roundup.psfhosted.org>
2021-10-08 20:38:06simonwlinkissue45416 messages
2021-10-08 20:38:06simonwcreate