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 ronaldoussoren
Recipients Dmitry.Jemerov, barry-scott, loewis, ned.deily, r.david.murray, ronaldoussoren, vstinner
Date 2015-05-15.09:44:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431683065.29.0.750689657156.issue18378@psf.upfronthosting.co.za>
In-reply-to
Content
Dimitry's patch looks good, I added my patch before checking if there already is patch.

The only thing that might be cause discussion is when to accept 'UTF-8' as a valid locale name.  My patch only accepts in on OSX, while Dimitry's patch accepts it everywwhere.

Writing this I'm slightly in favour of Dimitry's approach: I quite often run into problems when using SSH to log in to a Linux box from my OSX laptop (with LC_CTYPE=UTF-8). Almost everything works correctly, except for Python code that uses the locale module (which craps out with the exception in the first message in this issue).

IMHO Dimitry's patch should be applied as is.
History
Date User Action Args
2015-05-15 09:44:25ronaldoussorensetrecipients: + ronaldoussoren, loewis, barry-scott, vstinner, ned.deily, r.david.murray, Dmitry.Jemerov
2015-05-15 09:44:25ronaldoussorensetmessageid: <1431683065.29.0.750689657156.issue18378@psf.upfronthosting.co.za>
2015-05-15 09:44:25ronaldoussorenlinkissue18378 messages
2015-05-15 09:44:24ronaldoussorencreate