[issue33731] string formatting that produces floats with preset precision while respecting locale

Raymond Hettinger report at bugs.python.org
Thu Aug 2 00:26:08 EDT 2018


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

I would like to see locale() remain somewhat decoupled from the rest of string formatting.  IIRC locale() is finicky especially when concurrency is involved.  I think a best practice is for an app to address locale issues explicitly rather than inside string formatting.  I'll defer to those with more experience using locale -- I just have a vague recollection of this being an area fraught with landmines.

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33731>
_______________________________________


More information about the Python-bugs-list mailing list