[Python-Dev] usefulness of Python version of threading.RLock (original) (raw)

Charles-François Natali neologix at free.fr
Fri Jan 6 20:10:04 CET 2012


Thanks for those precisions, but I must admit it doesn't help me much... Can we drop it? A yes/no answer will do it ;-)

I'm pretty sure the Python version of RLock is in use in several alternative implementations that provide an alternative thread.lock. I think gevent would fall into this camp, as well as a personal project of mine in a similar vein that operates on python3.

Sorry, I'm not sure I understand. Do those projects use _PyRLock directly? If yes, then aliasing it to _CRLock should do the trick, no?



More information about the Python-Dev mailing list