Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!feeder.erje.net!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.061 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.02; 'instance': 0.05; 'header :In-reply-to:1': 0.09; 'wrote:': 0.15; '__all__': 0.16; 'from:addr:free.fr': 0.16; 'rachel': 0.16; 'subject:bad': 0.16; 'cc:addr:python-list': 0.16; 'pm,': 0.16; 'cc:2**0': 0.21; 'cc:no real name:2**0': 0.22; 'code.': 0.22; 'elegant': 0.23; 'cheers': 0.23; 'cc:addr:python.org': 0.30; 'header:User-Agent:1': 0.34; 'subject:: ': 0.38; 'something': 0.38; 'property': 0.65; 'received:62': 0.67; 'subject:like': 0.67; 'today': 0.71; 'taught': 0.71; 'beautiful': 0.77; 'subject:write': 0.84; 'topic,': 0.95 Date: Thu, 28 Jul 2011 15:00:12 +0200 From: Karim Subject: Re: Is it bad practise to write __all__ like that In-reply-to: To: Thomas Rachel MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit References: User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 Cc: python-list@python.org 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: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1311858015 news.xs4all.nl 23960 [2001:888:2000:d::a6]:35489 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:10451 On 07/28/2011 02:29 PM, Thomas Rachel wrote: > __all__ = AllList() Hello Thomas, Very beautiful and elegant code. Having both at the same time an instance and a method... With this 'small' topic, you taught me something today on property application! Cheers Karim