Message165276
| 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:38 | chris.jerdonek | set | recipients:
+ chris.jerdonek, rhettinger |
| 2012年07月11日 22:20:38 | chris.jerdonek | set | messageid: <1342045238.04.0.281063005128.issue15330@psf.upfronthosting.co.za> |
| 2012年07月11日 22:20:37 | chris.jerdonek | link | issue15330 messages |
| 2012年07月11日 22:20:37 | chris.jerdonek | create |
|