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, docs@python, rhettinger
Date 2012-07-11.22:10:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I think it would help to clarify which collections.deque methods are thread-safe:

Currently, the documentation says that "Deques support thread-safe, memory efficient appends and pops from either side...," but it isn't obvious if this is meant to apply to all methods, or just the methods named append*() and pop*().

For example, is rotate() thread-safe?  The illustration given of d.appendleft(d.pop()) seems like it could be interleaved.
Date User Action Args
2012-07-11 22:10:44chris.jerdoneksetrecipients: + chris.jerdonek, rhettinger, docs@python
2012-07-11 22:10:44chris.jerdoneksetmessageid: <>
2012-07-11 22:10:43chris.jerdoneklinkissue15329 messages
2012-07-11 22:10:43chris.jerdonekcreate