Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.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.091 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.02; 'context': 0.07; 'cc:addr :python-list': 0.11; 'container,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'subject:like': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'sort': 0.25; 'header:In-Reply- To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'fri,': 0.33; 'subject:with': 0.35; 'received:google.com': 0.35; 'nov': 0.38; 'pm,': 0.38; 'little': 0.38; 'does': 0.39; 'helps': 0.61; 'length': 0.61; 'first': 0.61; 'limit': 0.70; 'to:none': 0.92; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=FjvAxX55g4j2G/S1dXfEOD+f1XRYBFCTL95ez0HAoA8=; b=Z8DFmU8ipO6WTC2yAwsACFlr7aR7nzJMQxfrK/YoHbDP9i5Jc8j/dP9b8TlOigIJZk s97kkOzwLnFh/bylxYvKhEFL2ZO0YGKmJ8vWk6z9CPXHvSFlCwmHiB5M3quziIJnNlYB P17+Wd3k2gsaUnfxihBWIBcvvAbQ98iZfUpTBcMuI710ujaBOQRYH56528VM11IXTQPQ QMZAfNgxt7orLnjiddLqhrJ/5pmUAE1vnLvIJH9K81uRywQJ7kwT+bjsMV3BPqKfxd/6 LaPIAwANvTDHOMgx60HiWioBwaEaRU2dyOPRiWVevZP3aMOy5Z2EI4z7LCrrRAQQew+v lYsQ== MIME-Version: 1.0 X-Received: by 10.66.163.2 with SMTP id ye2mr599589pab.170.1385690808718; Thu, 28 Nov 2013 18:06:48 -0800 (PST) In-Reply-To: References: Date: Fri, 29 Nov 2013 13:06:48 +1100 Subject: Re: how to implement a queue-like container with sort function From: Chris Angelico Cc: python-list@python.org Content-Type: text/plain; charset=UTF-8 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: 8 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1385690812 news.xs4all.nl 15885 [2001:888:2000:d::a6]:52161 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:60751 On Fri, Nov 29, 2013 at 1:04 PM, iMath wrote: > All in all,I want to first fill the container, then sort it and process all the contents in it Where does the length limit come in? By the way, a little context helps a lot with following a thread. ChrisA