threadsafe true, python27