Issue 678519: StringIO self-iterator - Python tracker (original) (raw)
Issue678519
Created on 2003-02-01 02:26 by brett.cannon, last changed 2022-04-10 16:06 by admin. This issue is now closed.
| Messages (3) | ||
|---|---|---|
| msg14383 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2003-02-01 02:26 |
| 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. | ||
| msg14384 - (view) | Author: Michael Stone (mbrierst) | Date: 2003-03-01 19:52 |
| 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. | ||
| msg14385 - (view) | Author: Raymond Hettinger (rhettinger) * ![]() |
Date: 2003-04-24 15:52 |
| Logged In: YES user_id=80475 Applied 695710 as: Modules\cStringIO.c 2.40 Lib\test\test_StringIO.py 1.15 |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-10 16:06:26 | admin | set | github: 37890 |
| 2003-02-01 02:26:09 | brett.cannon | create |
