[issue15330] allow deque to act as a thread-safe circular buffer
Chris Jerdonek
report at bugs.python.org
Thu Jul 12 07:37:56 CEST 2012
Chris Jerdonek <chris.jerdonek at 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 <report at bugs.python.org>
<http://bugs.python.org/issue15330>
_______________________________________
More information about the Python-bugs-list
mailing list