Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.037 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'cell.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'lisp': 0.16; 'subject:writing': 0.16; 'wrote:': 0.16; 'header:In- Reply-To:1': 0.22; 'pm,': 0.24; 'aug': 0.24; "i'm": 0.27; 'message-id:@mail.gmail.com': 0.29; 'sun,': 0.30; 'class': 0.30; 'to:addr:python-list': 0.33; 'but': 0.37; 'steven': 0.38; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.39; 'to:addr:python.org': 0.39; 'called': 0.40; 'might': 0.40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=yRHwOdU63BTWqmosm4ns8fB/alzP8hFsR1CvBuwuC8A=; b=FtxD1Kksrd575DFAz5oPsczin/+idSOMNJsrk+Y/U1mpfV3YqW2l4hoZb927gwrBFn KCROZbILWqTLfXSHzaWsK4zKVw5cON4zO2Dqfg4lpQCiVj66wNPxqtRP3GCwAl0kLnva SDHTM/v1eHTvU9Z2x8oPrSU5pLzKsYFD0hhXI= MIME-Version: 1.0 In-Reply-To: <4e3ec653$0$29987$c3e8da3$5496439d@news.astraweb.com> References: <4e3ec653$0$29987$c3e8da3$5496439d@news.astraweb.com> Date: Sun, 7 Aug 2011 19:21:15 +0100 Subject: Re: Restricted attribute writing 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.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: 1312741278 news.xs4all.nl 23858 [2001:888:2000:d::a6]:56261 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:11012 On Sun, Aug 7, 2011 at 6:07 PM, Steven D'Aprano wrote: > class ThingWithTwoIntegers(object): > I'm not a lisp expert, but this might well be called a cons cell. Or a "pair". ChrisA