Skip to content

The new public multiprocessing.[R]Lock.locked() method should be add to multiprocessing.[Bounded]Semaphore classes documentation. #132795

Closed

Description

@YvesDup

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

Activity

  1. added a commit that references this issue on May 19, 2025
  2. added a commit that references this issue on Jul 12, 2025
  3. added a commit that references this issue on Aug 4, 2025
  4. added a commit that references this issue on Nov 30, 2025
  5. added a commit that references this issue on Nov 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions