Skip to content

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

Closed
@YvesDup

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      The new public `multiprocessing.[R]Lock.locked()` method should be add to `multiprocessing.[Bounded]Semaphore` classes documentation. · Issue #132795 · python/cpython

      Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

      Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant