Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed2.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.038 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; 'mrab': 0.05; 'plenty': 0.07; 'string': 0.09; 'subject:question': 0.10; '1.)': 0.16; 'enough.': 0.16; 'received:74.208.4.195': 0.16; 'singular': 0.16; 'surprising': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'header:User- Agent:1': 0.23; 'certainly': 0.24; 'format,': 0.24; 'string,': 0.24; '(or': 0.24; 'handling': 0.26; 'values': 0.27; 'header:In- Reply-To:1': 0.27; 'words': 0.29; 'needed.': 0.30; 'languages': 0.32; 'guess': 0.33; 'but': 0.35; 'there': 0.35; 'version': 0.36; 'thanks': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'dave': 0.60; 'numbers': 0.61; 'such': 0.63; 'more': 0.64; 'different': 0.65; 'received:74.208': 0.68; 'country': 0.77; 'ending': 0.78; 'angel': 0.91; 'from.': 0.93 Date: Sat, 22 Jun 2013 21:35:34 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: python-list@python.org Subject: Re: n00b question on spacing References: <51C4D2FF.8000709@digipen.edu> <51870913-c348-4807-bc25-aa7c8fbf0001@googlegroups.com> <51C63334.2080805@davea.name> <51C639A5.5070600@davea.name> <51C64D78.7090709@mrabarnett.plus.com> In-Reply-To: <51C64D78.7090709@mrabarnett.plus.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:QWwnfkn4cBrilM1RDfRma2l+0q/xDElYCr4FZXIgNKE DykyAXmghnYFoIyg61LkKYuo4U3r9q2X14Eh8YuP/A+eqKXBzz GHTuKu6wrNmAsMVcP6wY/MBfCKZczGpGOYdl5QdGhhs3ER3InQ FwcncGd20uTJ2Jbskl4qt5sO1mKL37WHnY0IM/YoZ752Imlo8d /YVnCyTgT4YUQlbBOmZ9gQTfYMwMXA/W8uNz3TgU6TwcmIA+mc K3XaQovxC/lJ8FWrHKVqFwiqBiYla2BVc0fYd54ayFVsffV+uN mriAa5TENEtYemdEQ+jEuirpCF88FvWTQmHeYDs3o9V4K+7GZc wetEd2hgBSgzF8wnCHc0= 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371951350 news.xs4all.nl 15891 [2001:888:2000:d::a6]:36894 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48963 On 06/22/2013 09:20 PM, MRAB wrote: > On 23/06/2013 00:56, Dave Angel wrote: >> >> Certainly the reorderability of the format string is significant. Not >> only can it be reordered, but more than one instance of some of the >> values is permissible if needed. (What's missing is a decent handling >> of such things as singular/plural, where you want a different version >> per country of one (or a few) words from the format string, based on >> whether a value is exactly 1.) >> > [snip] > One vs not-one isn't good enough. Some languages use the singular with > any numbers ending in '1'. Some languages have singular, dual, and > plural. Etc. It's surprising how inventive people can be! :-) > And there are plenty more where that came from. Thanks for the reminder. I guess instead of a format, we need a DWIM. -- DaveA