[issue2387] cStringIO and unicode

2012-04-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: This was fixed in 2.7.3 actually (27ae7d4e1983): Python 2.7.3+ (2.7:8b8b580e3fd3, Apr 25 2012, 17:24:51) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from cStringIO import StringIO >>> StringIO(u'foo').read(

[issue2387] cStringIO and unicode

2012-04-27 Thread Florent Xicluna
Florent Xicluna added the comment: 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 beha

[issue2387] cStringIO and unicode

2008-03-18 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: The 2.5.1 "fix" was determined to be too backwards-incompatible and since rolled back. The trunk behavior is "correct". Closing as rejected. -- nosy: +georg.brandl resolution: -> rejected status: open -> closed ___

[issue2387] cStringIO and unicode

2008-03-18 Thread Virgil Dupras
New submission from Virgil Dupras <[EMAIL PROTECTED]>: hsoft-dev:python hsoft$ python Python 2.5.1 (r251:54869, Apr 18 2007, 22:08:04) [GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from cStringIO import StringIO