Browse Source
bpo-29293: multiprocessing.Condition.notify() lacks parameter `n` (#2480)
bpo-29293: multiprocessing.Condition.notify() lacks parameter `n` (#2480)
* bpo-29293: multiprocessing.Condition.notify() lacks parameter `n` * Add NEWS blurbpull/2565/head
committed by
GitHub
4 changed files with 71 additions and 28 deletions
-
4Lib/multiprocessing/managers.py
-
24Lib/multiprocessing/synchronize.py
-
66Lib/test/_test_multiprocessing.py
-
5Misc/NEWS.d/next/Library/2017-06-29-00-07-22.bpo-29293.Z6WZjD.rst
@ -0,0 +1,5 @@ |
|||
Add missing parameter "n" on multiprocessing.Condition.notify(). |
|||
|
|||
The doc claims multiprocessing.Condition behaves like threading.Condition, |
|||
but its notify() method lacked the optional "n" argument (to specify the |
|||
number of sleepers to wake up) that threading.Condition.notify() accepts. |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue