[issue5345] cStringIO class name typo

2009-04-03 Thread Alexandre Vassalotti
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.

[issue5345] cStringIO class name typo

2009-04-03 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5345 ___ ___

[issue5345] cStringIO class name typo

2009-02-22 Thread Virgil Dupras
Virgil Dupras hs...@hardcoded.net added the comment: The documentation says: Another difference from the StringIO module is that calling StringIO() with a string parameter creates a read-only object. Unlike an object created without a string parameter, it does not have write methods. These

[issue5345] cStringIO class name typo

2009-02-21 Thread qwjqwj
New submission from qwjqwj q...@papayamobile.com: It has a typo error in cStringIO.StringIO's class name StringO: import cStringIO a=cStringIO.StringIO() a cStringIO.StringO object at 0xb7eef240 a.__class__.__name__ 'StringO' So we can't unpickle the object correctly with Python 2.5.4:

[issue5345] cStringIO class name typo

2009-02-21 Thread qwjqwj
qwjqwj q...@papayamobile.com added the comment: This bug also exists in Python 2.6.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5345 ___ ___