def new_instance(self): inst = MVCCMappingStorage.new_instance(self) inst._commit_lock = threading.Lock() return inst