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

2020-06-05 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- keywords: +patch pull_requests: +19871 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20651 ___ Python tracker ___

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

2020-06-05 Thread Rémi Lapeyre
New submission from Rémi Lapeyre : 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.