Eric V. Smith wrote: ... > The current specification for the format spec is: > [[fill]align][sign][#][0][width][grouping_option][.precision][type] > Let's say we change it to: > [[fill]align][sign][#][*|$][0][width][grouping_option][.precision][type] ... > Let's call the new [*|$] character the "locale character".
+1 > I'm not married to '*' for LC_NUMERIC, although I think '$' makes sense > for LC_MONETARY. If the "locale character" would be placed behind (or just infront of) the type, it would be possible to use '#' instead of '*' as modifier, which - for my taste - is a better fit for LC_NUMERIC . Syntax would be [[fill]align][sign][#][0][width][grouping_option][.precision][type][#|$] or [[fill]align][sign][#][0][width][grouping_option][.precision][#|$][type] Michael _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/G7RBWDVM5WY3XRPHXCIDLQGAAQQTXIS3/ Code of Conduct: http://python.org/psf/codeofconduct/