[issue35638] Introduce fixed point locale aware format type for floating point numbers

2019-01-09 Thread Łukasz Stelmach
Łukasz Stelmach added the comment: I'd appreciate, if we continued the discussion at python-ideas, where I posted the idea[1]. There has already been several valuable comments. [1] https://mail.python.org/pipermail/python-ideas/2019-January/054793

[issue35638] Introduce fixed point locale aware format type for floating point numbers

2019-01-05 Thread Łukasz Stelmach
Łukasz Stelmach added the comment: Indeed. Thank you. I was sure I had tried this. However, this is still only a workaround and not the solution I need. I am working on a project now which uses pint https://pint.readthedocs.io/en/latest/ which uses format() and its relatives. With &q

[issue35638] Introduce fixed point locale aware format type for floating point numbers

2019-01-03 Thread Łukasz Stelmach
Łukasz Stelmach added the comment: As much as I am open to any suggestions for naming and such (although I think 'm' together with 'n' are a good supplement for 'f' and 'g'), I really would like to introduce a method to format numbers with fixed num

[issue35638] Introduce fixed point locale aware format type for floating point numbers

2019-01-03 Thread Łukasz Stelmach
Łukasz Stelmach added the comment: > I haven't looked at this closely yet, but you'll need to at least: > - add tests that the locale-aware formatting is happening Done. > - support decimal > - make sure it works with complex Good points. Done. Please note, that the