Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.019 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'entries.': 0.16; 'from:addr:cs': 0.16; 'from:addr:zip.com.au': 0.16; 'from:name:cameron simpson': 0.16; 'message-id:@cskk.homeip.net': 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; 'simpson': 0.16; 'task:': 0.16; 'wrote:': 0.18; 'header :User-Agent:1': 0.23; 'either.': 0.24; 'sorry,': 0.24; 'subject:like': 0.24; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; 'fixed': 0.29; 'said,': 0.30; '"the': 0.34; 'subject:with': 0.35; 'but': 0.35; 'received:com.au': 0.36; 'charset:us-ascii': 0.36; 'should': 0.36; 'received:211': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'content- disposition:inline': 0.62; 'saturday': 0.68; 'limit': 0.70; 'batchelder': 0.84; 'homework': 0.84 Date: Wed, 4 Dec 2013 10:23:49 +1100 From: Cameron Simpson 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: User-Agent: Mutt/1.5.21 (2010-09-15) References: 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=8AHkEIZyAAAA:8 a=i8wGUEO_q4UA:10 a=W4ub2mWhAAAA:8 a=zQddmYGSuLQ4kdeOd5oA:9 a=pmJTOPlGwtqGujm4:21 a=ht9uN3RcvnxrzK10:21 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1386113040 news.xs4all.nl 2941 [2001:888:2000:d::a6]:60878 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:60970 On 03Dec2013 16:34, Ned Batchelder wrote: > On 12/3/13 4:19 PM, Cameron Simpson wrote: > >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. > > 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." Me either. Unless this is a homework task: "make one of these". -- Cameron Simpson It's as if all of Scottish cuisine is based on a dare. - Saturday Night Live