Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60962
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <cameron@cskk.homeip.net> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.008 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'irc': 0.05; 'imply': 0.09; '#python': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'limit.': 0.16; 'limiting': 0.16; 'message-id:@cskk.homeip.net': 0.16; 'op.': 0.16; 'received:211.29': 0.16; 'received:211.29.132': 0.16; 'received:cskk.homeip.net': 0.16; 'received:homeip.net': 0.16; 'received:optusnet.com.au': 0.16; 'received:syd.optusnet.com.au': 0.16; 'wrote:': 0.18; 'solution.': 0.20; 'header:User-Agent:1': 0.23; 'entries': 0.24; 'subject:like': 0.24; 'cheers,': 0.24; 'question': 0.24; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'posting': 0.31; 'overhead': 0.31; 'quite': 0.32; 'trouble': 0.34; 'subject:with': 0.35; 'knows': 0.35; 'received:com.au': 0.36; 'charset:us-ascii': 0.36; 'list': 0.37; 'received:211': 0.38; 'to:addr:python-list': 0.38; 'conference': 0.38; 'channel': 0.39; 'to:addr:python.org': 0.39; 'how': 0.40; 'took': 0.61; 'content- disposition:inline': 0.62; 'intelligent': 0.74; 'actually,': 0.84; 'batchelder': 0.84; 'from.': 0.93 |
| Date | Wed, 4 Dec 2013 08:17:18 +1100 |
| From | Cameron Simpson <cs@zip.com.au> |
| To | python-list@python.org |
| Subject | Re: how to implement a queue-like container with sort function |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| In-Reply-To | <l7hu8f$9ea$1@ger.gmane.org> |
| User-Agent | Mutt/1.5.21 (2010-09-15) |
| References | <l7hu8f$9ea$1@ger.gmane.org> |
| X-Optus-CM-Score | 0 |
| X-Optus-CM-Analysis | v=2.1 cv=bpB1Wiqi c=1 sm=1 tr=0 a=YuQlxtEQCowy2cfE5kc7TA==:117 a=YuQlxtEQCowy2cfE5kc7TA==:17 a=ZtCCktOnAAAA:8 a=PO7r1zJSAAAA:8 a=LcaDllckn3IA:10 a=eq1AAun0SscA:10 a=kj9zAlcOel0A:10 a=vrnE16BAAAAA:8 a=i8wGUEO_q4UA:10 a=W4ub2mWhAAAA:8 a=kZMi893tyovR7ZpnTPoA:9 a=CjuIK1q_8ugA:10 a=0xq-cdXUTwIA:10 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3529.1386105443.18130.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1386105443 news.xs4all.nl 2893 [2001:888:2000:d::a6]:58637 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:60962 |
Show key headers only | View raw
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. Cheers, -- It's bubble, bubble, toil and trouble in conductive polymer. - overhead by WIRED at the Intelligent Printing conference Oct2006
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: how to implement a queue-like container with sort function Cameron Simpson <cs@zip.com.au> - 2013-12-04 08:17 +1100
csiph-web