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 ned.deily
Recipients ned.deily, rene
Date 2014-02-27.20:27:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thanks for the report.  There was a lengthy discussion of this behavior a few years ago in Issue3067.  At that time it was decided not to change this behavior for 2.7.  I'm not sure if the __future__ "unicode_literals" was considered then, however you can work around it by using the b"" literal syntax:

    locale.setlocale(locale.LC_ALL, b'POSIX')
Date User Action Args
2014-02-27 20:27:36ned.deilysetrecipients: + ned.deily, rene
2014-02-27 20:27:36ned.deilysetmessageid: <>
2014-02-27 20:27:36ned.deilylinkissue20793 messages
2014-02-27 20:27:36ned.deilycreate