
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. -- Andrew McNamara, Senior Developer, Object Craft http://www.object-craft.com.au/

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/)

[Guido van Rossum]
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!
Done; bug #678519 . -Brett
participants (3)
-
Andrew McNamara
-
Brett Cannon
-
Guido van Rossum