Difference between mutex.mutex and threading.Lock

sven sven at uni-hd.de
Fri Dec 4 10:01:19 EST 2009


Hi,

what is the difference between mutex.mutex and threading.Lock?
Neither the documentation nor a Google search gave me any clue.

Another issue: The documentation of mutex in version 2.6.4 says:

"Deprecated since version The: mutex module has been removed in Python
3.0."

Maybe it should also say what to use instead (probably
threading.Lock?).  Also the "version The" part seems a bit strange.

Greetings,
    Sven



More information about the Python-list mailing list