[issue33841] lock not released in threading.Condition

2018-06-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: The `waiter` lock is always removed from `self._waiters` at the end of wait() (either by notify() or by wait() itself), so there's no point in releasing it a second time before destruction. I'm closing this as it's not a bug. -- nosy: +pitrou, tim.p

[issue33841] lock not released in threading.Condition

2018-06-11 Thread Lev Maximov
New submission from Lev Maximov : In `Condition.wait()` the `waiter` lock gets acquired twice, but is released only once (both in timeout and no timeout cases). Is it intentional? -- components: Library (Lib) messages: 319365 nosy: lev.maximov priority: normal severity: normal status: