[docs] [issue10379] locale.format() input regression

Barry A. Warsaw report at bugs.python.org
Fri Nov 12 01:25:37 CET 2010


Barry A. Warsaw <barry at python.org> added the comment:

On Nov 12, 2010, at 12:15 AM, R. David Murray wrote:

>Now, from the perspective of a *user* of the locale module, I fail to see the
>point in having both 'format' and 'format_string' exposed.  If you want to
>format a single % specifier, just pass it to format_string.  Thus my
>suggestion to make them both do the same thing (to cater to other code that
>may be calling format incorrectly) and then deprecate one of them (presumably
>format).

+1

>To bad I didn't think of that when I fixed the original bug.

Dang.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10379>
_______________________________________


More information about the docs mailing list