[Python-Dev] str object going in Py3K

Guido van Rossum guido at python.org
Thu Feb 16 19:35:27 CET 2006


On 2/15/06, Bengt Richter <bokr at oz.net> wrote:
> On Wed, 15 Feb 2006 18:57:26 -0800, Guido van Rossum <guido at python.org> wrote:
> >My expectation is that the Py3k standard I/O library will do all of
> >its own conversions on top of binary files anyway -- if you missed it,
> >I'd like to get rid of any ties to C's stdio.
> >
> Would the standard I/O module have low level utility stream-processing generators
> to do things like linesep normalization in text or splitlines etc? I.e., primitives
> that could be composed for unforseen usefulness, like unix pipeable stuff?

Yes. To get a (very limited) idea of what I'm talking about, see the
sio package in the sandbox:
http://svn.python.org/view/sandbox/trunk/sio/

--
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-Dev mailing list