> > > 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 _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com