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 rsc1975
Recipients r.david.murray, rsc1975
Date 2015-08-31.16:27:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441038427.5.0.311534804639.issue24966@psf.upfronthosting.co.za>
In-reply-to
Content
Thank you for the references, changing the encoding of an open stream sounds interesting, but It's targeted for v. 3.6 so It seems a bit far away.

Anyway, as I said I fixed on my side with monkey-patching on the third-party lib, the broken locale is just the context, just to explain how I got this issue, I opened this because I honestly though that could be better to return the fallback value that raise an exception, but you know better the "big picture" so, if It's better as is, It's ok for me.

BTW, I don't find the opened issue to use utf8 as default instead ascii (except for Windows)
History
Date User Action Args
2015-08-31 16:27:07rsc1975setrecipients: + rsc1975, r.david.murray
2015-08-31 16:27:07rsc1975setmessageid: <1441038427.5.0.311534804639.issue24966@psf.upfronthosting.co.za>
2015-08-31 16:27:07rsc1975linkissue24966 messages
2015-08-31 16:27:07rsc1975create