[Python-3000] canonicalization [was: On PEP 3116: new I/O base classes]
Bill Janssen
janssen at parc.com
Fri Jun 22 18:41:19 CEST 2007
> > > In practice, binary concerns do intrude even for text data; you may
> > > well want to save it back out in the original encoding, without any
> > > spurious changes.
>
> Then for the purposes of this discussion, it's not text, it's binary.
> In many cases it will need to be read as bytes and stored that way
> until written back out.
That was more or less my original point; the string situation has
gotten complicated enough that I believe any careful coder will do any
transformations in application code, rather than relying on (and
trying to understand) the particular machinations of some text wrapper
in the I/O library.
Bill
More information about the Python-3000
mailing list