A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-January/032629.html below:

[Python-Dev] StringIO not an iterator?

[Python-Dev] StringIO not an iterator? [Python-Dev] StringIO not an iterator?Guido van Rossum guido@python.org
Fri, 31 Jan 2003 07:40:18 -0500
> >> I've just noticed that the StringIO in CVS hasn't been updated to be an
> >> iterator, like real file objects. This probably should be fixed before
> >> 2.3 is released.
> >
> >I think you mean cStringIO.
> 
> Actually, I meant StringIO, but I see that I had my details wrong -
> I was just accessing it incorrectly (it's not a self-iterator, and has
> no next() method). I'll get back in my box now. Thanks.

Well, maybe StringIO should be upgraded to be a self-iterator, to
more resemble files.

And cStringIO should probably be fixed as well.

Someome please check in the changes, upload a patch to SF, or at least
enter a bug report at SF!

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



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4