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 serhiy.storchaka
Recipients pitrou, r.david.murray, serhiy.storchaka, vstinner
Date 2013-09-28.21:06:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1380402388.5.0.754495239099.issue19058@psf.upfronthosting.co.za>
In-reply-to
Content
> Your patch does not check sys.stdout.encoding, but check directly the codec. Two codecs may encode the same character as the same byte sequence.

Checking encoding name is too rigid. Python interpreter can normalize encoding name before assigning it to standard streams. This is implementation detail.
History
Date User Action Args
2013-09-28 21:06:28serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, vstinner, r.david.murray
2013-09-28 21:06:28serhiy.storchakasetmessageid: <1380402388.5.0.754495239099.issue19058@psf.upfronthosting.co.za>
2013-09-28 21:06:28serhiy.storchakalinkissue19058 messages
2013-09-28 21:06:28serhiy.storchakacreate