Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.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.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'subject:missing': 0.07; 'nicely': 0.09; 'snippets': 0.09; 'developer': 0.12; '+1.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:Language': 0.16; 'mon,': 0.16; 'language': 0.16; 'wrote:': 0.18; 'received:209.85.210.174': 0.21; 'received:mail- iy0-f174.google.com': 0.21; 'header:In-Reply-To:1': 0.22; 'feb': 0.22; 'feature.': 0.23; 'module': 0.26; 'code': 0.26; 'there.': 0.27; 'mine': 0.28; 'message-id:@mail.gmail.com': 0.29; '27,': 0.29; 'pm,': 0.29; 'least': 0.30; 'quite': 0.31; 'steven': 0.34; 'to:addr:python-list': 0.35; 'but': 0.37; 'received:google.com': 0.37; 'received:209.85': 0.38; 'enough': 0.38; 'some': 0.38; 'should': 0.38; 'characters': 0.39; 'received:209': 0.39; 'to:addr:python.org': 0.40; 'header:Received:6': 0.61; 'subject:!': 0.66; 'subject:types': 0.84 Received-SPF: pass (google.com: domain of rosuav@gmail.com designates 10.42.131.129 as permitted sender) client-ip=10.42.131.129; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rosuav@gmail.com designates 10.42.131.129 as permitted sender) smtp.mail=rosuav@gmail.com; dkim=pass header.i=rosuav@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 :content-type; bh=3I68/CbhUvgz2QicL6YSFPlVnRJulz0zWjwiVCUlX7Q=; b=jkna3GS+0hAk7+pF+Fv3LYIAvS0Q3iEUVFvmql8Wxf+qCI0XjDIf/xQjaul+piPIx6 1kcm+o60KP4N/KVc2SkGUL2HrBF2LwCydqykwWUlZBQOwP8bKEyTLRy5kYh0sDy/HV17 yDnHoEHhfsZmyPl7EIDyGubF7k5sx4diZKob4= MIME-Version: 1.0 In-Reply-To: <4f4afdce$0$29999$c3e8da3$5496439d@news.astraweb.com> References: <8c2096d9-3cc2-4b64-8f11-c1d958d94243@x19g2000yqh.googlegroups.com> <4F481A5F.4080601@gmail.com> <4F482D66.1070307@mrabarnett.plus.com> <4f483e4a$0$29989$c3e8da3$5496439d@news.astraweb.com> <058242e4-2504-41aa-97dd-0630816c4af9@f4g2000yqh.googlegroups.com> <406737be-45ce-4990-9bbe-97256967ad41@l16g2000vbl.googlegroups.com> <4f4afdce$0$29999$c3e8da3$5496439d@news.astraweb.com> Date: Mon, 27 Feb 2012 14:59:48 +1100 Subject: Re: PyWart: Language missing maximum constant of numeric types! From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 1330315191 news.xs4all.nl 6911 [2001:888:2000:d::a6]:43823 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:20922 On Mon, Feb 27, 2012 at 2:51 PM, Steven D'Aprano wrote: > I can see some value for this as a convenience, but not enough to make it > a built-in language feature. Every developer should have at least one > utility module with all the trivial code snippets they frequently use. +1. I used to call mine "oddsends" - it nicely fitted into eight characters (yeah, was important then - I was on DOS), and I had quite a few odds and ends in there. ChrisA