Chris Jerdonek <chris.jerdo...@gmail.com> added the comment: Yes, atomic. I was under the impression that the existing deque.rotate() is atomic, in which case deque.rotate(1) almost provides what I'm suggesting (lacking only the return value).
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15330> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com