Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.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.053 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.00; 'mrab': 0.04; 'am,': 0.12; 'should.': 0.16; 'subject:copy': 0.16; 'wrote:': 0.16; 'feb': 0.22; 'header:In-Reply-To:1': 0.22; 'message-id:@mail.gmail.com': 0.28; 'thu,': 0.32; 'to:addr:python-list': 0.33; 'assignment': 0.34; 'received:209.85.160.46': 0.35; 'received:mail- pw0-f46.google.com': 0.35; 'received:209.85.160': 0.35; 'received:google.com': 0.37; 'received:209.85': 0.38; 'should': 0.38; 'received:209': 0.39; 'subject:: ': 0.39; 'to:addr:python.org': 0.40; 'type': 0.60; 'subject:write': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=tIHYdAiQ1q1eD5pDsu2xT0dNQcaXMgybyK4l/rt/mYw=; b=i/zKe7tWcDWp+L260AgyqRFWc04XUJkq4k/YQWxDIMWvqFKAZi3+udvWU3mL6Ttp2K T7tL0RHAboDnQmyIsj8JLm2MGTsymQMNZNSF0cj/e4F9mrPMffw4dNYvSuJmjezA0pF6 N7vpl0mOCu9L2PJmynI/hMPSGnd1JaxhKjEhY= MIME-Version: 1.0 In-Reply-To: <4F2AB9AC.3050608@mrabarnett.plus.com> References: <4f101f45$0$29999$c3e8da3$5496439d@news.astraweb.com> <4f102bd0$0$29999$c3e8da3$5496439d@news.astraweb.com> <4F107AAF.5000600@stoneleaf.us> <20120202141812.649c31d832bb15bd899eb952@johnohagan.com> <4f2a5478$0$29895$c3e8da3$5496439d@news.astraweb.com> <87haz9o6a9.fsf@xemacs.org> <4F2AB9AC.3050608@mrabarnett.plus.com> From: Devin Jeanpierre Date: Thu, 2 Feb 2012 12:21:37 -0500 Subject: Re: copy on write To: python-list@python.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 1328203340 news.xs4all.nl 6847 [2001:888:2000:d::a6]:32900 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:19803 On Thu, Feb 2, 2012 at 11:28 AM, MRAB wrote: > Should failed assignment be raising TypeError? Is it really a type > error? A failed setitem should be a TypeError as much as a failed getitem should. Should 1[0] be a TypeError? -- Devin