Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60964 > unrolled thread
| Started by | Ned Batchelder <ned@nedbatchelder.com> |
|---|---|
| First post | 2013-12-03 16:34 -0500 |
| Last post | 2013-12-03 16:34 -0500 |
| 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.
Re: how to implement a queue-like container with sort function Ned Batchelder <ned@nedbatchelder.com> - 2013-12-03 16:34 -0500
| From | Ned Batchelder <ned@nedbatchelder.com> |
|---|---|
| Date | 2013-12-03 16:34 -0500 |
| Subject | Re: how to implement a queue-like container with sort function |
| Message-ID | <mailman.3531.1386106458.18130.python-list@python.org> |
On 12/3/13 4:19 PM, Cameron Simpson wrote: > 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, > Sorry, I was unclear. When I said, "I don't know where the idea came from," I should have said, "the OP said he wanted a fixed-length contained, but I don't know why he thinks that." --Ned.
Back to top | Article view | comp.lang.python
csiph-web