Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.062 X-Spam-Evidence: '*H*': 0.88; '*S*': 0.00; 'subject:missing': 0.07; 'received:209.85.214.174': 0.13; 'subject:Language': 0.16; 'wolfgang': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.18; 'cc:no real name:2**0': 0.21; 'header:In-Reply-To:1': 0.22; 'cc:2**0': 0.26; 'message-id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.29; 'none': 0.35; 'received:209.85.214': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.38; 'received:209': 0.39; 'header:Received:6': 0.61; 'subject:!': 0.66; 'funny': 0.76; 'subject:types': 0.84 Received-SPF: pass (google.com: domain of arnodel@gmail.com designates 10.182.216.41 as permitted sender) client-ip=10.182.216.41; Authentication-Results: mr.google.com; spf=pass (google.com: domain of arnodel@gmail.com designates 10.182.216.41 as permitted sender) smtp.mail=arnodel@gmail.com; dkim=pass header.i=arnodel@gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=uPjL0hZ5UimpdjeGhbZWbPptQLMu7UCC8Ku+s/AhvSA=; b=Sk55WR1jmq8yfNuYiXf+/xdTV0zSeSzcSfb1aQGfR8QvJWohJmy78kw/v7Ml2o6cgi 9OMTY3Vp9wvZweW6tkwDp75R8902qTedD/F/3N9ykBunl12tB8U1KyStOjve5DtKpkSY EIt3BaP4x+DgU5XCVWORrRw6rYWHXwzG/kN08= MIME-Version: 1.0 In-Reply-To: <4f4a35dd$0$7614$9b4e6d93@newsspool1.arcor-online.net> References: <8c2096d9-3cc2-4b64-8f11-c1d958d94243@x19g2000yqh.googlegroups.com> <4f48996b$0$6639$9b4e6d93@newsspool2.arcor-online.net> <0cee49d9-b5a6-4fd8-8cd2-e4373099d5ac@p7g2000yqk.googlegroups.com> <4f4a30a8$0$7610$9b4e6d93@newsspool1.arcor-online.net> <4f4a35dd$0$7614$9b4e6d93@newsspool1.arcor-online.net> Date: Sun, 26 Feb 2012 13:44:57 +0000 Subject: Re: PyWart: Language missing maximum constant of numeric types! From: Arnaud Delobelle To: Wolfgang Meiners Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1330263901 news.xs4all.nl 6978 [2001:888:2000:d::a6]:53043 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:20902 On 26 February 2012 13:38, Wolfgang Meiners wrot= e: > =C2=A0 =C2=A0 =C2=A0do_it =3D (len(str) <=3D maxlength) if maxlength is n= ot None else True That's a funny way to spell: do_it =3D maxlength is None or len(str) <=3D maxlength --=20 Arnaud