This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chris.jerdonek
Recipients chris.jerdonek, rhettinger
Date 2012-07-11.22:20:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342045238.04.0.281063005128.issue15330@psf.upfronthosting.co.za>
In-reply-to
Content
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`).
History
Date User Action Args
2012-07-11 22:20:38chris.jerdoneksetrecipients: + chris.jerdonek, rhettinger
2012-07-11 22:20:38chris.jerdoneksetmessageid: <1342045238.04.0.281063005128.issue15330@psf.upfronthosting.co.za>
2012-07-11 22:20:37chris.jerdoneklinkissue15330 messages
2012-07-11 22:20:37chris.jerdonekcreate