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 lemburg
Recipients benjamin.peterson, ezio.melotti, hynek, lemburg, ncoghlan, pitrou, serhiy.storchaka, stutzbach, vstinner
Date 2014-01-27.10:26:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <52E6343E.1020002@egenix.com>
In-reply-to <1390816800.14.0.323059392586.issue20405@psf.upfronthosting.co.za>
Content
On 27.01.2014 11:00, STINNER Victor wrote:
> 
> STINNER Victor added the comment:
> 
> I agree with Antoine, I dislike the idea of BinaryTransformWrapper, it remembers me the evil codecs.EncodedFile thing.
>
> What are the usecases?

Ever used "recode" ?

The purpose of EncodedFile/StreamRecoder was to convert an externally
used encoding to a standard internal one - mainly to allow programs
that didn't want to use Unicode for processing to still benefit from
the codecs that come with Python.

E.g. the example at the end of codecs.py allows using Latin-1 within
the application, while talking to the console using UTF-8.
History
Date User Action Args
2014-01-27 10:26:12lemburgsetrecipients: + lemburg, ncoghlan, pitrou, vstinner, benjamin.peterson, stutzbach, ezio.melotti, hynek, serhiy.storchaka
2014-01-27 10:26:11lemburglinkissue20405 messages
2014-01-27 10:26:11lemburgcreate