Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #48922 > unrolled thread

Re: n00b question on spacing

Started byJoshua Landau <joshua.landau.ws@gmail.com>
First post2013-06-22 14:36 +0100
Last post2013-06-23 11:40 -0400
Articles 2 on this page of 22 — 8 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: n00b question on spacing Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-22 14:36 +0100
    Re: n00b question on spacing Rick Johnson <rantingrickjohnson@gmail.com> - 2013-06-22 08:24 -0700
      Re: n00b question on spacing Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-22 16:40 +0100
        Re: n00b question on spacing Rick Johnson <rantingrickjohnson@gmail.com> - 2013-06-22 08:55 -0700
          Re: n00b question on spacing Joshua Landau <joshua.landau.ws@gmail.com> - 2013-06-22 17:11 +0100
      Re: n00b question on spacing Chris Angelico <rosuav@gmail.com> - 2013-06-23 09:12 +1000
        Re: n00b question on spacing Rick Johnson <rantingrickjohnson@gmail.com> - 2013-06-22 17:48 -0700
          Re: n00b question on spacing Chris Angelico <rosuav@gmail.com> - 2013-06-23 12:26 +1000
      Re: n00b question on spacing Dave Angel <davea@davea.name> - 2013-06-22 19:28 -0400
      Re: n00b question on spacing Chris Angelico <rosuav@gmail.com> - 2013-06-23 09:37 +1000
      Re: n00b question on spacing Dave Angel <davea@davea.name> - 2013-06-22 19:56 -0400
      Re: n00b question on spacing Chris Angelico <rosuav@gmail.com> - 2013-06-23 10:27 +1000
      Re: n00b question on spacing Dave Angel <davea@davea.name> - 2013-06-22 20:46 -0400
      Re: n00b question on spacing MRAB <python@mrabarnett.plus.com> - 2013-06-23 02:20 +0100
        Re: n00b question on spacing Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-23 02:58 +0000
          Re: n00b question on spacing Roy Smith <roy@panix.com> - 2013-06-22 23:12 -0400
            Re: n00b question on spacing Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-23 03:22 +0000
              Re: n00b question on spacing Chris Angelico <rosuav@gmail.com> - 2013-06-23 13:36 +1000
              Re: n00b question on spacing Roy Smith <roy@panix.com> - 2013-06-23 09:43 -0400
          Re: n00b question on spacing Chris Angelico <rosuav@gmail.com> - 2013-06-23 14:09 +1000
      Re: n00b question on spacing Dave Angel <davea@davea.name> - 2013-06-22 21:35 -0400
      Re: n00b question on spacing Terry Reedy <tjreedy@udel.edu> - 2013-06-23 11:40 -0400

Page 2 of 2 — ← Prev page 1 [2]


#48963

FromDave Angel <davea@davea.name>
Date2013-06-22 21:35 -0400
Message-ID<mailman.3719.1371951350.3114.python-list@python.org>
In reply to#48927
On 06/22/2013 09:20 PM, MRAB wrote:
> On 23/06/2013 00:56, Dave Angel wrote:
      <SNIP>
>>
>> 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

[toc] | [prev] | [next] | [standalone]


#48985

FromTerry Reedy <tjreedy@udel.edu>
Date2013-06-23 11:40 -0400
Message-ID<mailman.3727.1372002050.3114.python-list@python.org>
In reply to#48927
On 6/22/2013 9:20 PM, MRAB wrote:

> [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! :-)

In the Idle output window for file grepping, I just changed the summary 
line 'Found %d hit%s' to 'Hits found: %d' to avoid the pluralization 
problem (even though the language is just English for now).

-- 
Terry Jan Reedy

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.lang.python


csiph-web