Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #60963 > unrolled thread

Re: how to implement a queue-like container with sort function

Started byCameron Simpson <cs@zip.com.au>
First post2013-12-04 08:19 +1100
Last post2013-12-04 08:19 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: how to implement a queue-like container with sort function Cameron Simpson <cs@zip.com.au> - 2013-12-04 08:19 +1100

#60963 — Re: how to implement a queue-like container with sort function

FromCameron Simpson <cs@zip.com.au>
Date2013-12-04 08:19 +1100
SubjectRe: how to implement a queue-like container with sort function
Message-ID<mailman.3530.1386105592.18130.python-list@python.org>
On 04Dec2013 08:17, I wrote:
> On 02Dec2013 07:26, Ned Batchelder <ned@nedbatchelder.com> wrote:
> > Actually, I had a long conversation in the #python IRC channel with
> > the OP at the same time he was posting the question here, and it
> > turns out he knows exactly how many entries are going into the
> > "queue", so a plain-old list is the best solution.  I don't know
> > quite where the idea of limiting the number of entries came from.
> 
> For me, it was because he said "fill the queue" in the OP. I took
> that to imply that the queue had a capacity limit.

And then I check the source:-( He actually said "I want to a fixed
length list-like container". That still sounds like a limit to the
number of entries.

Cheers,
-- 
Cameron Simpson <cs@zip.com.au>

Success in software development depends on making a carefully planned
series of small mistakes in order to avoid making unplanned large
mistakes.       - Steve McConnell, _Software Project Survival Guide_

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web