Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #45354
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ian.g.kelly@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.026 |
| X-Spam-Evidence | '*H*': 0.95; '*S*': 0.00; 'subject:not': 0.03; 'subject:Python': 0.06; '__init__': 0.09; 'arguments': 0.09; 'args,': 0.16; 'article:': 0.16; 'benjamin': 0.16; 'conclusion:': 0.16; 'positional': 0.16; 'subject: \n ': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'bit': 0.19; 'subject:problem': 0.24; '15,': 0.26; 'pass': 0.26; 'read,': 0.26; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'generally': 0.29; 'message-id:@mail.gmail.com': 0.30; 'keywords,': 0.31; 'url:05': 0.31; 'subject:with': 0.35; 'advice': 0.35; 'received:209.85': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'keyword': 0.36; 'received:209': 0.37; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'url:26': 0.68; 'url:2011': 0.75; 'article': 0.77; 'url:wordpress': 0.78; 'oscar': 0.84; 'subject: *': 0.84; 'subject:skip:o 10': 0.84; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=lRLYMnMlySAKZoL6G7X18ZU51I0gQ66TvITIK/HXHJI=; b=zFFtz4nIcf04+Y6cUFWi5p1kobWifkD7n+JQtD7fb61XC/MBNW6esEZFvZO3Vk3Syg 8bhqyTt5/Lp6nnUtVOrYfSU9QYvZPW088dRidvG29yFfLUaSa7WbhsRWA0bRmL69EgCB T+kGCFqN/J5PvQGzH19T3/Z20jInDAIbr0qv4rgvDWZpiiJcQFxwVUEz+SsrD48B8TJc wy6x+RRtF7tlfZn+K06qjeMTjei9UCjDNMISGdVnuhUiYlbw2M6x+UqgLiBhjdSB3qaI 7p7or/ss4asvuJ38vdcF/DwVKZQBI5r+rp+aIB3to+g67TZftwUsJiZ6YcEUljMPLtX3 RQFw== |
| X-Received | by 10.66.144.98 with SMTP id sl2mr40112569pab.92.1368632535193; Wed, 15 May 2013 08:42:15 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <CAHVvXxTnMKvrzCp9cyHsSc_WM7ymRTJdnw+mBs2801cz09a7tg@mail.gmail.com> |
| References | <f4ce525a-2728-4ad6-9858-e9005534ee54@bz1g2000vbb.googlegroups.com> <CAHVvXxTnMKvrzCp9cyHsSc_WM7ymRTJdnw+mBs2801cz09a7tg@mail.gmail.com> |
| From | Ian Kelly <ian.g.kelly@gmail.com> |
| Date | Wed, 15 May 2013 09:41:35 -0600 |
| Subject | Re: Python 2.7.x - problem with obejct.__init__() not accepting *args and **kwargs |
| To | Python <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.1705.1368632544.3114.python-list@python.org> (permalink) |
| Lines | 15 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1368632544 news.xs4all.nl 15918 [2001:888:2000:d::a6]:54829 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:45354 |
Show key headers only | View raw
On Wed, May 15, 2013 at 6:16 AM, Oscar Benjamin <oscar.j.benjamin@gmail.com> wrote: > I don't generally use super() but I did see some advice about it in > this article: > https://fuhm.net/super-harmful/ > > From the conclusion: > "Never use positional arguments in __init__ or __new__. Always use > keyword args, and always call them as keywords, and always pass all > keywords on to super." While that article is a good read, this one is a bit better on giving advice about how to practically use super: http://rhettinger.wordpress.com/2011/05/26/super-considered-super/
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Python 2.7.x - problem with obejct.__init__() not accepting *args and **kwargs wzab <wzab01@gmail.com> - 2013-05-15 04:18 -0700
Re: Python 2.7.x - problem with obejct.__init__() not accepting *args and **kwargs Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-05-15 13:16 +0100
Re: Python 2.7.x - problem with obejct.__init__() not accepting *args and **kwargs Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-16 02:06 +0000
Re: Python 2.7.x - problem with obejct.__init__() not accepting *args and **kwargs Ian Kelly <ian.g.kelly@gmail.com> - 2013-05-16 00:37 -0600
Re: Python 2.7.x - problem with obejct.__init__() not accepting *args and **kwargs Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2013-05-16 11:31 +0100
Re: Python 2.7.x - problem with obejct.__init__() not accepting *args and **kwargs Ian Kelly <ian.g.kelly@gmail.com> - 2013-05-15 09:41 -0600
csiph-web