Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.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.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'attribute': 0.05; 'attributes': 0.07; 'attribute.': 0.09; 'methods,': 0.09; 'notation': 0.09; 'applies': 0.15; 'attributes,': 0.16; 'attributes.': 0.16; 'etc?': 0.16; 'properties,': 0.16; 'to:addr:pearwood.info': 0.16; 'to:addr:steve+comp.lang.python': 0.16; 'wrote:': 0.17; '+0000': 0.20; 'to:name:python- list@python.org': 0.20; 'skip:- 40': 0.21; 'thanks.': 0.21; 'to:2**1': 0.23; 'header:In-Reply-To:1': 0.25; 'steven': 0.29; 'date:': 0.29; 'url:mailman': 0.29; 'fri,': 0.30; 'url:python': 0.32; 'url:listinfo': 0.32; 'from:addr:live.com': 0.33; 'shorter': 0.33; 'to:addr:python-list': 0.33; 'nov': 0.35; 'subject:': 0.36; 'url:org': 0.36; 'email addr:python.org': 0.36; 'thank': 0.36; 'why': 0.37; 'subject:: ': 0.38; 'from:': 0.38; 'object': 0.38; 'to:addr:python.org': 0.39; 'skip:" 10': 0.40; 'url:mail': 0.40; 'your': 0.60; 'email name:python-list': 0.62; 'different': 0.63; '10:49:07': 0.84; 'ian,': 0.84; 'charset:windows-1251': 0.97 X-Originating-IP: [194.44.213.194] From: Andriy Kornatskyy To: , "python-list@python.org" Subject: RE: Lazy Attribute Date: Fri, 16 Nov 2012 13:27:06 +0300 Importance: Normal In-Reply-To: <50a601a7$0$29978$c3e8da3$5496439d@news.astraweb.com> References: , , , <50a601a7$0$29978$c3e8da3$5496439d@news.astraweb.com> Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 16 Nov 2012 10:27:07.0287 (UTC) FILETIME=[EDC7DA70:01CDC3E4] 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: 38 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1353061695 news.xs4all.nl 6898 [2001:888:2000:d::a6]:43902 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:33424 Same applies to properties... they are seen as an object attributes. Thanks. Andriy ---------------------------------------- > From: steve+comp.lang.python@pearwood.info > Subject: Re: Lazy Attribute > Date: Fri=2C 16 Nov 2012 09:04:39 +0000 > To: python-list@python.org > > On Fri=2C 16 Nov 2012 10:49:07 +0300=2C Andriy Kornatskyy wrote: > > > Ian=2C > > > > Thank you for the comments. > > > >> The name "attribute" is not very descriptive. Why not "lazy_attribute" > >> instead? > > > > It just shorter and still descriptive. > > It is not descriptive. EVERYTHING accessed used dot notation obj.thing is > an attribute. What makes your "attribute" different from ordinary > attributes=2C properties=2C dynamic attributes calculated with __getattr_= _=2C > methods=2C etc? > > > > -- > Steven > -- > http://mail.python.org/mailman/listinfo/python-list =