On 8/6/07, Georg Brandl <[EMAIL PROTECTED]> wrote:
> Guido van Rossum schrieb:
> > Methinks that this was a fundamental limitation of cStringIO, not  a
> > bug. Certainly not something to be "fixed" in a bugfix release.
>
> I'm sorry.

No problem. Somebody else should have flagged this, so it's our
collective responsibility.

> Okay, I propose the following patch:
>
> Index: Modules/cStringIO.c
[...]

My proposal is much more radical -- get rid of cStringIO altogether.
(And also of StringIO.py.) There aren't that many places using it any
more, and almost all of these are easily replaced with io.StringIO (or
io.BytesIO!). There's already a fixer in 2to3 to do this.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to