Author flox
Recipients flox, georg.brandl, vdupras
Date 2012-04-27.07:28:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It seems the documentation is not enough accurate.

"Unlike the StringIO module, this module is not able to accept Unicode strings that cannot be encoded as plain ASCII strings."

I understand that u'foo' can be encoded as plan ASCII, however it does not behave correctly with cStringIO.

Python 2.7.3 (default, Apr 14 2012, 01:49:35) 
>>> from cStringIO import StringIO
>>> StringIO(u'foo').read()
Date User Action Args
2012-04-27 07:28:24floxsetrecipients: + flox, georg.brandl, vdupras
2012-04-27 07:28:24floxsetmessageid: <>
2012-04-27 07:28:23floxlinkissue2387 messages
2012-04-27 07:28:23floxcreate