Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #86466
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.008 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'argument': 0.05; 'subject:Python': 0.06; 'list?': 0.07; 'lawrence': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'def': 0.12; 'argument,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'feb': 0.22; '>>>': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'that.': 0.31; 'own,': 0.31; 'anybody': 0.35; 'received:google.com': 0.35; 'keyword': 0.36; 'object,': 0.36; 'should': 0.36; 'pm,': 0.38; 'how': 0.40; 'dave': 0.60; 'today.': 0.61; '26,': 0.68; '2015': 0.84; 'now...': 0.84; 'subject:Practices': 0.84; 'angel': 0.91; 'to:none': 0.92 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=WGmpaDwEaYkbmki54GC19VjYgZILLu206OQYyiKUXVI=; b=baKhJgIz8YcVbxXJfSbA9KGwdCkHqZUE/CdZriB0qP3XT6q5nPW2RWw+L/9p3uAAPX gc5O95h7wwzBq6AETzhkY8OanOYkVEh2NzKvV+Hpq+uY3RKtRQzWjxBcK65AT3xTjQSZ CpaGnuO9WLvk+5Qw/MCQenzfZGFgoLUg0vhEmCnbjq4R/JIox+G3P+QGhi4jyh1797sR cBFVPed/1GGgsHBDwODTEcb3LrW7M4leWv4FFjZ74F9HTRdRbKNqddr0qrG4xsilTTs+ V4uvvHJ6ZLxEpWSGYLWY4QF21GTvgtRJS58svvlKWpbbjm+5wXoFo5EyhnHpagNge+t2 iUxg== |
| MIME-Version | 1.0 |
| X-Received | by 10.43.171.2 with SMTP id ns2mr7565331icc.26.1424920632234; Wed, 25 Feb 2015 19:17:12 -0800 (PST) |
| In-Reply-To | <54EE8D63.2050208@davea.name> |
| References | <mclca6$iie$1@ger.gmane.org> <mcltqc$j0b$1@ger.gmane.org> <54EE8D63.2050208@davea.name> |
| Date | Thu, 26 Feb 2015 14:17:12 +1100 |
| Subject | Re: Python Worst Practices |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.19235.1424920639.18130.python-list@python.org> (permalink) |
| Lines | 29 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1424920639 news.xs4all.nl 2857 [2001:888:2000:d::a6]:35131 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:86466 |
Show key headers only | View raw
On Thu, Feb 26, 2015 at 2:05 PM, Dave Angel <davea@davea.name> wrote: > On 02/25/2015 08:44 PM, Mark Lawrence wrote: >> >> On 25/02/2015 20:45, Mark Lawrence wrote: >>> >>> http://www.slideshare.net/pydanny/python-worst-practices >>> >>> Any that should be added to this list? Any that be removed as not that >>> bad? >>> >> >> Throwing in my own, how about built-in functions should not use "object" >> as the one and only argument, and a keyword argument at that. >> > > def marry(object = False)... > > > if anybody has any cause to object, let him speak now... Python. Python is what bwings us togethar, today. And def, twue def, will make your argument into a keyword argument that will fowwow you forevah and evah. So tweasure your keyword arguments... ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-02-26 14:17 +1100
csiph-web