Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed1a.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.046 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.01; 'argument': 0.05; 'subject:Python': 0.06; 'list?': 0.07; 'lawrence': 0.09; 'def': 0.12; 'argument,': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; 'that.': 0.31; 'own,': 0.31; 'anybody': 0.35; 'keyword': 0.36; 'object,': 0.36; 'should': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'charset:windows-1252': 0.65; 'received:74.208': 0.68; 'now...': 0.84; 'received:74.208.4.194': 0.84; 'subject:Practices': 0.84 Date: Wed, 25 Feb 2015 22:05:07 -0500 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Python Worst Practices References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:gk+SH/4JS1EMBjxZJHYjcQHz4G3SlQFdJ5zUqe7timg biEaQHuz/RJGfmAdxH5y9x4SNAcqCZFh5iLr5/Jd2lsEflO/eF PXXgLlXZTvjFQvcv5iNNZbAqsO0o4vdtuEeoUXA6makU1U/Vi5 94uKBGvWzkJ0p3sT5bHCvMTl/WTPHfYnHuvzZSSWWZ7FTyno/2 rzT14dsBv7diDPSQEf8rSvh+eBOaQKTOWiGbsFuJtMiVWSnyDF aZKVhI2wCfXm0/35oW2txoI7942QrmCRcmA9w5fZfq0MVqD9/Y UUExBmo57Eql0eAQdf87sNonuLbt9ky4VbO0NSpluZOjJpj2H8 TLXzjgWHHVtjjbV1KaNU= X-UI-Out-Filterresults: notjunk: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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1424919915 news.xs4all.nl 2915 [2001:888:2000:d::a6]:51645 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:86464 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... -- DaveA