[Python-ideas] Re: Fixed point format for numbers with locale based separators

2019-12-20 Thread Michael Amrhein
Yes, you are right. Would it be a way out, to bind the "locale character" to the type? [[fill]align][sign][#][0][width][grouping_option][.precision][type[#|$]] ___ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to

[Python-ideas] Re: Fixed point format for numbers with locale based separators

2019-12-20 Thread Eric V. Smith
[[fill]align][sign][#][0][width][grouping_option][.precision][#|$][type] Could not distinguish the first and second #: everything between them is optional. Eric On 12/20/2019 7:13 AM, Michael Amrhein wrote: Eric V. Smith wrote: ... The current specification for the format spec is:

[Python-ideas] Re: Fixed point format for numbers with locale based separators

2019-12-20 Thread Michael Amrhein
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