Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #38156
| Path | csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.069 |
| X-Spam-Evidence | '*H*': 0.86; '*S*': 0.00; 'python': 0.09; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'new- style': 0.16; 'wrote:': 0.17; 'feb': 0.19; 'trying': 0.21; 'header :In-Reply-To:1': 0.25; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'class': 0.29; 'sense': 0.31; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'received:209.85': 0.35; 'does': 0.37; 'why': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'more': 0.63; '2013': 0.84; '4:29': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=e8TdvzK4DKStrhRuxNPFRQwCuawwwD2beQj0p5y7bt8=; b=uSy8YeS1KuDe93thHj2U1VjLGKIugmEFv2yJuyWPO7wp3GDcoS4Wrlre1u2S/YcVSj DeWDS9fnJBQBjdoc8D3bUxsnyhECNRBMNiZhFC7Y2OeiC+n4pfja+Zr3uC7FGTKyYqzz oZbRk57vGQc7sQV+uemdERfyEFxP8J3E0wLud5OgR8MaYtNTFde8rOFsT2Ncf3ieAvhu PaXAQXRYusP9ex3jPfxSb4eyNXZrTMfNdPF0agR38tIJuJR7u2VQS+VCEgw4JPm+U8lu at6LFHiMBsNlzNK+mWB9+B8AQ/rMRojH8ENVGEUGwNMWb95NdTHaTB/63ODxgOOn2S+O MQ2A== |
| MIME-Version | 1.0 |
| X-Received | by 10.224.18.205 with SMTP id x13mr14562833qaa.9.1360026050141; Mon, 04 Feb 2013 17:00:50 -0800 (PST) |
| In-Reply-To | <fbbc805f-b92a-42b6-adb6-7d0e1fdfab77@googlegroups.com> |
| References | <095a0432-f8a4-40b4-96ed-1588896fba66@googlegroups.com> <510f3a91$0$29866$c3e8da3$5496439d@news.astraweb.com> <863c89b0-2125-4525-8ad8-1111b0a6beae@googlegroups.com> <mailman.1322.1359987291.2939.python-list@python.org> <fbbc805f-b92a-42b6-adb6-7d0e1fdfab77@googlegroups.com> |
| Date | Tue, 5 Feb 2013 12:00:50 +1100 |
| Subject | Re: __getattr__ Confusion |
| From | Chris Angelico <rosuav@gmail.com> |
| 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 <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1347.1360026058.2939.python-list@python.org> (permalink) |
| Lines | 9 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1360026058 news.xs4all.nl 6857 [2001:888:2000:d::a6]:33307 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:38156 |
Show key headers only | View raw
On Tue, Feb 5, 2013 at 4:29 AM, Saul Spatz <saul.spatz@gmail.com> wrote: > class Adder(): # python 2.7, classic class > > Why does this work for __add__ and not for __getattr__? Is this a case of "why bother trying to understand it, just use new-style classes"? They do make more sense in many ways. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
__getattr__ Confusion Saul Spatz <saul.spatz@gmail.com> - 2013-02-03 17:08 -0800
Re: __getattr__ Confusion Chris Angelico <rosuav@gmail.com> - 2013-02-04 12:28 +1100
Re: __getattr__ Confusion Terry Reedy <tjreedy@udel.edu> - 2013-02-03 21:47 -0500
Re: __getattr__ Confusion Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-02-04 04:35 +0000
Re: __getattr__ Confusion Saul Spatz <saul.spatz@gmail.com> - 2013-02-04 05:44 -0800
Re: __getattr__ Confusion Peter Otten <__peter__@web.de> - 2013-02-04 15:15 +0100
Re: __getattr__ Confusion Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-02-05 01:46 +1100
Re: __getattr__ Confusion Saul Spatz <saul.spatz@gmail.com> - 2013-02-04 09:29 -0800
Re: __getattr__ Confusion Peter Otten <__peter__@web.de> - 2013-02-04 19:23 +0100
Re: __getattr__ Confusion Chris Angelico <rosuav@gmail.com> - 2013-02-05 12:00 +1100
Re: __getattr__ Confusion Saul Spatz <saul.spatz@gmail.com> - 2013-02-04 09:29 -0800
csiph-web