[issue2918] Merge StringIO/cStringIO in 3.0

2008-06-11 Thread Alexandre Vassalotti
Alexandre Vassalotti <[EMAIL PROTECTED]> added the comment: Committed in r64154. -- resolution: -> accepted status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue2918] Merge StringIO/cStringIO in 3.0

2008-06-11 Thread Alexandre Vassalotti
Alexandre Vassalotti <[EMAIL PROTECTED]> added the comment: I updated the patch to use the new module framework. Added file: http://bugs.python.org/file10593/add-stringio-3.patch ___ Python tracker <[EMAIL PROTECTED]> __

[issue2918] Merge StringIO/cStringIO in 3.0

2008-06-10 Thread Alexandre Vassalotti
Alexandre Vassalotti <[EMAIL PROTECTED]> added the comment: Here's another patch fixes the failing tests. I have tried to support the buffer attribute using following hack: @property def buffer(self): # XXX Hack to support the buffer attribute. buf = codec

[issue2918] Merge StringIO/cStringIO in 3.0

2008-06-09 Thread Alexandre Vassalotti
Alexandre Vassalotti <[EMAIL PROTECTED]> added the comment: Here's a preliminary patch that add the C optimization for StringIO. All tests are passing except two which depends on the StringIO.buffer attribute of the TextIOWrapper class. Honestly, I am not sure what is the correct way to fix this.

[issue2918] Merge StringIO/cStringIO in 3.0

2008-05-29 Thread Humberto Diogenes
Changes by Humberto Diogenes <[EMAIL PROTECTED]>: -- nosy: +hdiogenes ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list ma

[issue2918] Merge StringIO/cStringIO in 3.0

2008-05-19 Thread Brett Cannon
New submission from Brett Cannon <[EMAIL PROTECTED]>: PEP 3108 calls for StringIO (which is io.StringIO in 3.0) to have an accelerated version behind it when available. Alexandre has been working on this so assigning to him. -- assignee: alexandre.vassalotti components: Library (Lib) m