[Python-bugs-list] [ python-Bugs-678519 ] StringIO self-iterator

SourceForge.net noreply@sourceforge.net
Sat, 01 Mar 2003 11:52:04 -0800


Bugs item #678519, was opened at 2003-02-01 02:26
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=678519&group_id=5470

Category: Python Library
Group: Feature Request
Status: Open
Resolution: None
Priority: 5
Submitted By: Brett Cannon (bcannon)
Assigned to: Raymond Hettinger (rhettinger)
Summary: StringIO self-iterator

Initial Comment:
As requested by Guido at http://mail.python.org/pipermail/python-dev/2003-January/032629.html , this is a feature request to make both cStringIO and StringIO self-iterators (``__iter__()`` returns self and the class defines ``next()``).  This is so they can be more like files.

----------------------------------------------------------------------

Comment By: Michael Stone (mbrierst)
Date: 2003-03-01 19:52

Message:
Logged In: YES 
user_id=670441

StringIO.StringIO already appears to be a self-iterator.
Patch 695710 will make cStringIO.StringIO a self-iterator
as well.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=678519&group_id=5470