結果 : is deque thread safe python