STINNER Victor added the comment:

"If we don't fix this (I'm leaning that way myself), I think we should somehow 
document the limitation.  There are ways to acknowledge the limitation without 
getting into the specifics of this particular issue."

I agree to documentation the limitation and close this issue as "wontfix".

A workaround is to format as a bytes string, and then decode the result from 
the locale encoding. It looks like locale.getpreferredencoding(True) should be 
used, not locale.getpreferredencoding(False).


Python tracker <>
Python-bugs-list mailing list

Reply via email to