[New-bugs-announce] [issue15330] allow deque to act as a thread-safe circular buffer
Chris Jerdonek
report at bugs.python.org
Thu Jul 12 00:20:38 CEST 2012
New submission from Chris Jerdonek <chris.jerdonek at gmail.com>:
It seems like it would be useful if collections.deque had a thread-safe method that could rotate(1) and return the rotated value.
This would let deque to act as a thread-safe circular buffer (e.g. if serving jobs to multiple threads in a loop, like `python -m test --forever`).
----------
components: Library (Lib)
messages: 165276
nosy: cjerdonek, rhettinger
priority: normal
severity: normal
status: open
title: allow deque to act as a thread-safe circular buffer
type: enhancement
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15330>
_______________________________________
More information about the New-bugs-announce
mailing list