Documentation
As the new public locked method has been add to the multiprocessing.SemLock base class, this method is also available for multiprocessing.[Bounded]Semaphore, as currently for multprocessing.[R]Lock classes.
The documentation should be updated by adding an entry for each class as below:
|
.. method:: locked() |
|
|
|
Return a boolean indicating whether this object is locked right now. |
|
|
|
.. versionadded:: 3.14 |
Linked issue/PR
Documentation
As the new public
lockedmethod has been add to themultiprocessing.SemLockbase class, this method is also available formultiprocessing.[Bounded]Semaphore, as currently formultprocessing.[R]Lockclasses.The documentation should be updated by adding an entry for each class as below:
cpython/Doc/library/multiprocessing.rst
Lines 1424 to 1428 in e846244
Linked issue/PR
AcquirerProxyobject has no attributelocked#115942lockedto several multiprocessing locks #115944Lockedpublic method tomultiprocessing.[Bounded]Semaphore#133299multiprocessing.Semaphore.locked(GH-133299) #142111