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

2019-01-07 Thread Łukasz Stelmach
Dnia 6 stycznia 2019 o 01:48 "Eric V. Smith" napisał(a): > On 1/5/2019 3:03 PM, Łukasz Stelmach wrote: >> Barry Scott writes: >>> On Friday, 4 January 2019 14:57:53 GMT Łukasz Stelmach wrote: I would like to present two pull requests[1][2] implementing fixed point presentation of n

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

2019-01-06 Thread Stefan Krah
Eric V. Smith wrote: > If the locale character is "*", use locale-aware formatting for the > given "type", with LC_NUMERIC. So, "*g" would be equivalent to the > existing "n", and "*f" would give you the current "f" formatting, except > using LC_NUMERIC for the decimal point. If the locale cha

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

2019-01-05 Thread Eric V. Smith
On 1/5/2019 3:03 PM, Łukasz Stelmach wrote: Barry Scott writes: On Friday, 4 January 2019 14:57:53 GMT Łukasz Stelmach wrote: I would like to present two pull requests[1][2] implementing fixed point presentation of numbers and ask for comments. The first is mine. I learnt about the second aft

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

2019-01-05 Thread Łukasz Stelmach
Barry Scott writes: > On Friday, 4 January 2019 14:57:53 GMT Łukasz Stelmach wrote: >> >> I would like to present two pull requests[1][2] implementing fixed point >> presentation of numbers and ask for comments. The first is mine. I >> learnt about the second after publishing mine. >> >> The only

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

2019-01-05 Thread Łukasz Stelmach
Steven D'Aprano writes: > On Fri, Jan 04, 2019 at 03:57:53PM +0100, Łukasz Stelmach wrote: >> Hi, >> >> I would like to present two pull requests[1][2] implementing fixed point >> presentation of numbers and ask for comments. The first is mine. I >> learnt about the second after publishing mine.

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

2019-01-05 Thread Barry Scott
On Friday, 4 January 2019 14:57:53 GMT Łukasz Stelmach wrote: > Hi, > > I would like to present two pull requests[1][2] implementing fixed point > presentation of numbers and ask for comments. The first is mine. I > learnt about the second after publishing mine. > > The only format using decimal

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

2019-01-04 Thread Steven D'Aprano
On Fri, Jan 04, 2019 at 03:57:53PM +0100, Łukasz Stelmach wrote: > Hi, > > I would like to present two pull requests[1][2] implementing fixed point > presentation of numbers and ask for comments. The first is mine. I > learnt about the second after publishing mine. Before I look at the implementa

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

2019-01-04 Thread Łukasz Stelmach
Hi, I would like to present two pull requests[1][2] implementing fixed point presentation of numbers and ask for comments. The first is mine. I learnt about the second after publishing mine. The only format using decimal separator from locale data for float/complex/decimal numbers at the moment i