[issue40872] multiprocess.Lock is missing the locked() method

Rémi Lapeyre report at bugs.python.org
Fri Jun 5 09:46:27 EDT 2020


New submission from Rémi Lapeyre <remi.lapeyre at henki.fr>:

multiprocessing is supposed to be a drop-in replacement for the threading module and multiprocessing.Lock() is advertised as a "a close analog of threading.Lock." but it is missing the locked() method that returns whether the current status of the lock.

----------
components: Library (Lib)
messages: 370762
nosy: remi.lapeyre
priority: normal
severity: normal
status: open
title: multiprocess.Lock is missing the locked() method
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40872>
_______________________________________


More information about the Python-bugs-list mailing list