Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed1a.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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'assignment': 0.07; 'result,': 0.07; 'cc:addr:python-list': 0.11; '3:27': 0.16; 'defined.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'least.': 0.16; 'wrote:': 0.18; 'feb': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; 'consequence': 0.31; 'fri,': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'being': 0.38; 'to:none': 0.92 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=LEVdNZqsPICw/nnBDV0EMdYzv3/ZXpzpLiUWPdNF0L0=; b=F2qPEeMyIWoe56Gy7tRXpMp0xpdQvMaViXXt2+UPZh5YzyEvNlCM18iXRaSC/aUWOy SVG0WWWhepTXTOb7rLvkq4AyEKMdzM4dkL8POpo13hOeC52BeG2GKxzal4tJROncLNkI WiInaNEAVxuyWGsokE0HA4Z6F+ZeltZ2AOJOWt3VPflChfOCbLIHI8QnIPEEIWb5f5k2 FN8GCfYM7gnhi8KJA5Q2LG/PF/QCpUw21C91/XxEwiI8ZHlI7y7kKQJ4HkwYvQpuPS9/ W3nkZW6DGa3fNMJEN7iqcJ30CVVICqF+Ip7iJF014RGP08cpBDqllgD15lr4yuIaI8bz FZkg== MIME-Version: 1.0 X-Received: by 10.68.200.74 with SMTP id jq10mr1758529pbc.169.1393518800179; Thu, 27 Feb 2014 08:33:20 -0800 (PST) In-Reply-To: References: Date: Fri, 28 Feb 2014 03:33:20 +1100 Subject: Re: Tuples and immutability 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: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1393518809 news.xs4all.nl 2874 [2001:888:2000:d::a6]:58339 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:67157 On Fri, Feb 28, 2014 at 3:27 AM, Eric Jacoboni wrote: > But, imho, it's far from being a intuitive result, to say the least. It's unintuitive, but it's a consequence of the way += is defined. If you don't want assignment, don't use assignment :) ChrisA