Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'rule.': 0.09; 'am,': 0.12; '3:51': 0.16; 'bieber': 0.16; 'dangling': 0.16; 'declaimed': 0.16; 'email addr:ix.netcom.com': 0.16; 'email name:wlfraed': 0.16; 'from:addr:ix.netcom.com': 0.16; 'from:addr:wlfraed': 0.16; 'from:name:dennis lee bieber': 0.16; 'received:wlfraed': 0.16; 'renaming': 0.16; 'subject:classes': 0.16; 'url:netcom': 0.16; 'url:wlfraed': 0.16; 'wulfraed': 0.16; 'wrote:': 0.18; 'url:home': 0.21; 'referring': 0.23; 'function': 0.27; 'class': 0.29; '22,': 0.30; 'chris': 0.30; 'subject:?': 0.31; 'thu,': 0.32; 'break': 0.32; 'header:X-Complaints-To:1': 0.34; 'lee': 0.34; 'steven': 0.34; 'done': 0.34; 'rather': 0.34; 'to:addr:python-list': 0.35; 'received:org': 0.36; 'charset:us- ascii': 0.37; 'received:76': 0.37; 'another': 0.37; 'to:addr:python.org': 0.40; 'special': 0.66; 'dennis': 0.73; '"all': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Python classes: Simplify? Date: Thu, 22 Mar 2012 10:55:57 -0400 Organization: > Bestiaria Support Staff < References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-76-253-99-231.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES 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: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1332428179 news.xs4all.nl 6891 [2001:888:2000:d::a6]:59781 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:22027 On Thu, 22 Mar 2012 04:17:35 -0700, Chris Rebert declaimed the following in gmane.comp.python.general: > On Thu, Mar 22, 2012 at 3:51 AM, Steven Lehar wrote: > > > Furthermore, why not call the > > initialization function after the class name as is done in other languages? > > Yech. That would add another step to renaming a class and make > referring to the superclass initializer method rather difficult. It > would also break the "all special methods have underscored names" > rule. > Not to mention the dangling consideration of what to do with the real constructor: __new__() -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/