[issue2599] allow field_name in format strings to default to next positional argument (e.g., "{}")

2009-03-28 Thread R. David Murray
R. David Murray added the comment: This was proposed on python-ideas, discussed, approved, and implemented for 2.7 and 3.1. Note that although this wasn't discussed, the internationalization issue is answered by the fact that when internationalizing, you are rewriting the string. At that time

[issue2599] allow field_name in format strings to default to next positional argument (e.g., "{}")

2008-04-09 Thread Alexander Belopolsky
Alexander Belopolsky <[EMAIL PROTECTED]> added the comment: Omitting the ordinals from {} format units will present a problem with internationalization because the arguments may need to be rendered in different order in different languages. This is a frequent problem with the % formats and it is

[issue2599] allow field_name in format strings to default to next positional argument (e.g., "{}")

2008-04-08 Thread Bruce Frederiksen
New submission from Bruce Frederiksen <[EMAIL PROTECTED]>: Being forced to number the arguments when using positional arguments in a format string is difficult to maintain. Adding an argument to the format string either requires renumbering all subsequent arguments, or using an out of sequence n