Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin3!goblin2!goblin.stu.neva.ru!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.149 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.71; '*S*': 0.01; 'subject:question': 0.08; '__new__': 0.16; 'wrote:': 0.17; 'received:mail- bk0-f46.google.com': 0.22; "i've": 0.23; 'header:In-Reply-To:1': 0.25; 'am,': 0.27; 'received:209.85.214.46': 0.27; 'message- id:@mail.gmail.com': 0.27; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'subject:?': 0.35; 'received:209.85': 0.35; 'method': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'jul': 0.65; 'amount.': 0.84; 'subject:self': 0.84; 'to:name:python': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=YE5RqFK2BcCgJjVYbTjSw2eLbWMmsZT8iXgl8gLaJeM=; b=KxCSDDfJfjWKtVq+G2PuXKIEXiOUGD4e4pS9rpG63DGMW/AUcvWofg3OlOCZyfKjrP X7w8Aio2v+RGIHr3iZm1R3qvyQhiyo/sS4roHwrNyMR3bnnyQjXG9wXNbeEYWPI/d7gQ y0OW9wXDwAeUrVqvIQc5Kspj7wyETNpZJcoKEoVmeDfcK/2/kkY5Zc278lmwbWVib8qY x+cjB49Ow0EaoiTJvI2mjtPuTj8tADbOxUJ+u7MzaTk9jpSCothFsskVkmrt89avcKIb 2Ei142E22h6Uu4L3kVObQqjjigxatwIN7Mz4GJfNfV6Y6Teu4sUh8igeVUtF6vUmWnMY x+AQ== MIME-Version: 1.0 In-Reply-To: <7566b8bc-929e-4f70-8e44-f0bda232ef85@googlegroups.com> References: <50043377$0$29978$c3e8da3$5496439d@news.astraweb.com> <7566b8bc-929e-4f70-8e44-f0bda232ef85@googlegroups.com> From: Ian Kelly Date: Tue, 17 Jul 2012 10:34:04 -0600 Subject: Re: Style question: metaclass self vs cls? To: Python 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: 5 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1342542881 news.xs4all.nl 6890 [2001:888:2000:d::a6]:52594 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:25510 On Tue, Jul 17, 2012 at 6:23 AM, Michele Simionato wrote: > The standard is to use `cls`. In the __new__ method you can use `mcl` or `meta`. I've also seen `mcs` a fair amount.