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 andy_js
Recipients Pierrick.Koch, andy_js, giampaolo.rodola, xdegaye
Date 2013-05-29.13:01:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1369832469.33.0.543164727787.issue17925@psf.upfronthosting.co.za>
In-reply-to
Content
What about changing:

self.producer_fifo.appendleft(first)
self.producer_fifo.appendleft(data)

To

self.producer_fifo.extendleft([data, first])

Assuming deque's extendleft is actually thread safe.
History
Date User Action Args
2013-05-29 13:01:09andy_jssetrecipients: + andy_js, giampaolo.rodola, xdegaye, Pierrick.Koch
2013-05-29 13:01:09andy_jssetmessageid: <1369832469.33.0.543164727787.issue17925@psf.upfronthosting.co.za>
2013-05-29 13:01:09andy_jslinkissue17925 messages
2013-05-29 13:01:09andy_jscreate