This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Arfrever, Ariel.Ben-Yehuda, chris.jerdonek, eric.smith, ezio.melotti, loewis, serhiy.storchaka, vstinner
Date 2012-11-04.23:45:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352072738.97.0.418198410455.issue15276@psf.upfronthosting.co.za>
In-reply-to
Content
"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).
History
Date User Action Args
2012-11-04 23:45:39vstinnersetrecipients: + vstinner, loewis, eric.smith, ezio.melotti, Arfrever, chris.jerdonek, serhiy.storchaka, Ariel.Ben-Yehuda
2012-11-04 23:45:38vstinnersetmessageid: <1352072738.97.0.418198410455.issue15276@psf.upfronthosting.co.za>
2012-11-04 23:45:38vstinnerlinkissue15276 messages
2012-11-04 23:45:38vstinnercreate