Christian Heimes <lists <at> cheimes.de> writes: > > Couldn't you use "from _thread import allocate_lock as Lock" instead? I feel stupid for not thinking of such an obvious solution. (by the way, is _thread always available?)