Alexandre Vassalotti <alexan...@peadrop.com> added the comment:

This is not a typo. cStringIO.StringIO is a factory function that
returns either a cStringO object (for writing) or cStringI (for
reading). If this behavior causes a problem to you, then consider using
StringIO.StringIO.

Alternatively, you could upgrade to Python 2.7 or 3.0 and use
io.StringIO() which doesn't have this limitation.

----------
nosy: +alexandre.vassalotti
resolution:  -> wont fix

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5345>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to