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 xdegaye
Recipients Pierrick.Koch, andy_js, giampaolo.rodola, xdegaye
Date 2013-06-17.07:10:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371453038.38.0.63757607784.issue17925@psf.upfronthosting.co.za>
In-reply-to
Content
> I think you mean:
>
>     self.producer_fifo.extendleft([data, first])
>
> Instead of:
>
>     self.producer_fifo.extendleft([first, data])
>
> No?


No, I do mean:

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

See the documentation.
Also:

>>> from collections import deque
>>> a = deque([0, 1, 2, 3])
>>> a.extendleft([11, 22])
>>> a
deque([22, 11, 0, 1, 2, 3])
History
Date User Action Args
2013-06-17 07:10:38xdegayesetrecipients: + xdegaye, giampaolo.rodola, Pierrick.Koch, andy_js
2013-06-17 07:10:38xdegayesetmessageid: <1371453038.38.0.63757607784.issue17925@psf.upfronthosting.co.za>
2013-06-17 07:10:38xdegayelinkissue17925 messages
2013-06-17 07:10:38xdegayecreate