Path: csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!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.115 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.77; '*S*': 0.00; 'python': 0.08; 'empty,': 0.09; 'oh,': 0.09; 'guessing': 0.16; 'subject:function': 0.16; 'header:In-Reply-To:1': 0.23; 'place,': 0.24; 'subject:please': 0.24; 'hard,': 0.30; 'list': 0.31; 'to:addr:python-list': 0.31; 'received:192.168.1': 0.32; 'explicit': 0.34; 'received:192': 0.34; 'header:User-Agent:1': 0.34; 'another': 0.35; 'received:192.168': 0.37; 'think': 0.37; 'too': 0.39; 'subject:: ': 0.39; 'not,': 0.39; 'to:addr:python.org': 0.40; "it's": 0.40; 'day': 0.61; 'received:192.168.1.2': 0.67; 'reply-to:no real name:2**0': 0.72; 'header:Reply-To:1': 0.72; 'subject:Easy': 0.84; 'evil': 0.91 Date: Wed, 09 Feb 2011 17:41:48 -0700 From: "Littlefield, Tyler" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Easy function, please help. References: <8e0efff7-4d38-4a85-9653-2178388603d4@y36g2000pra.googlegroups.com> <87oc6l8z1y.fsf@rudin.co.uk> <1297298086.2481.5.camel@localhost.localdomain> In-Reply-To: <1297298086.2481.5.camel@localhost.localdomain> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: tyler@tysdomain.com 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: 7 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1297298519 news.xs4all.nl 81484 [::ffff:82.94.164.166]:37671 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:55816 Uh oh, I think we found RR's evil twin: another python to the modern day visionary. >Example 1 is not explicit enough. Too much guessing is required by the >reader! if list is empty, bla. if not, bla. it's not all that hard, and there's no guessing that needs to take place, honest.