Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!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.027 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'anyway.': 0.04; 'lawrence': 0.09; 'objects.': 0.09; 'received:mail- vc0-f174.google.com': 0.09; 'subject:()': 0.09; 'bug': 0.10; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'oct': 0.16; 'peters': 0.16; 'repeatedly.': 0.16; 'report?': 0.16; 'subject:array': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'fix': 0.17; 'tim': 0.18; '>>>': 0.18; 'appears': 0.18; 'memory': 0.18; '31,': 0.22; 'url:bugs': 0.24; 'header:In-Reply-To:1': 0.25; 'looks': 0.26; 'creating': 0.26; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; '>>>>': 0.29; 'cycles': 0.29; 'obscure': 0.29; 'received:209.85.220.174': 0.29; 'objects': 0.29; 'url:python': 0.32; 'file': 0.32; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'pm,': 0.35; 'received:209.85.220': 0.35; 'sometimes': 0.35; 'received:209.85': 0.35; 'really': 0.36; 'url:org': 0.36; 'rather': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'back': 0.62; '30,': 0.62; 'worth': 0.63; 'him,': 0.66; 'increasing': 0.75; 'absolutely': 0.84; '80%': 0.84; 'bloody': 0.84; 'footprint': 0.84; 'furman': 0.84; 'hardly': 0.84; 'idiot.': 0.84; 'penalty': 0.84; 'ethan': 0.91; 'serious': 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:to :content-type; bh=GsDAuRcWD9zPIBZm6FQuTcrOkGJdrQU+e7/8eWtZKnw=; b=OxThRkg/ZDHSls4k7+mraDnaXeDz6ZC9JcccEuiKtpTxDIt+LMlUTJOsESYt/6lgA0 4ZN5gBQ2F3MVfzthAcOPUlWCkq5OCQGsDosiJbjpRl1tx5mbwCu70LsGVYpYXylhFVX/ CYK5kX4hs7aFHY7nNBGQvQfa2oCnpkBbpT/Y39cwIx3i6tSFnGlavyVHJJw1gLGUclsK LWEc4gN56Yv+pAw3FSyoyW+VhD1Aix8r0UZ1UWUlZFwdXWwNnnTbkXJwJ15WbS4N5MF7 qOigFC8B60b+ANGuVU6sa4uDzhjBoP8gh/7amAUGW0aVbhiiKosgA2StyQ+0CpJsmK0D GSvw== MIME-Version: 1.0 In-Reply-To: References: <6998a955-7b34-4f4f-b8d6-62d1028f7561@googlegroups.com> <4c024364-84df-403b-8b9e-4a4c8f06121c@googlegroups.com> <508e6649$0$29967$c3e8da3$5496439d@news.astraweb.com> <508E1BC9.3000308@r3dsolutions.com> <508EC428.5080808@r3dsolutions.com> <508FFCD6.3010305@stoneleaf.us> Date: Wed, 31 Oct 2012 09:00:56 +1100 Subject: Re: Negative array indicies and slice() From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1351634459 news.xs4all.nl 6871 [2001:888:2000:d::a6]:33443 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:32509 On Wed, Oct 31, 2012 at 8:47 AM, Ian Kelly wrote: > On Tue, Oct 30, 2012 at 3:33 PM, Mark Lawrence wrote: >> On 30/10/2012 18:02, Ian Kelly wrote: >>> >>> On Tue, Oct 30, 2012 at 10:14 AM, Ethan Furman wrote: >>>> >>>> File a bug report? >>> >>> >>> Looks like it's already been wontfixed back in 2006: >>> >>> http://bugs.python.org/issue1501180 >>> >> >> Absolutely bloody typical, turned down because of an idiot. Who the hell is >> Tim Peters anyway? :) > > I don't really disagree with him, anyway. It is a rather obscure bug > -- is it worth increasing the memory footprint of slice objects by 80% > in order to fix it? Bug report: If I take this gun, aim it at my foot, and pull the trigger, sometimes a hole appears in my foot. This is hardly normal use of slice objects. And the penalty isn't a serious one unless you're creating cycles repeatedly. ChrisA