Message413808
Serhiy is right, Condition.wait() has the following code:
finally:
# Must reacquire lock even if wait is cancelled
cancelled = False
while True:
try:
await self.acquire()
break
except exceptions.CancelledError:
cancelled = True
if cancelled:
raise exceptions.CancelledError
It swallows CancelledError exceptions from waiters and re-raises CancelledError without the cancellation message. |
|
Date |
User |
Action |
Args |
2022-02-23 15:29:45 | asvetlov | set | recipients:
+ asvetlov, gvanrossum, chris.jerdonek, serhiy.storchaka, yselivanov, graingert, bjs, pagliaricci.m |
2022-02-23 15:29:45 | asvetlov | set | messageid: <1645630185.94.0.177390360502.issue45390@roundup.psfhosted.org> |
2022-02-23 15:29:45 | asvetlov | link | issue45390 messages |
2022-02-23 15:29:45 | asvetlov | create | |
|