Chris Jerdonek <chris.jerdo...@gmail.com> added the comment: That sounds fine. And thanks for investigating.
By the way, I created issue 15329 earlier today to clarify what guarantees deque provides with respect to multithreading. For example, the distinction between thread-safe and atomic is not currently mentioned. As you observed, deque.extend() is not atomic but I'm guessing is probably considered safe. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15320> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com