[Patches] [ python-Patches-1770008 ] Remove cStringIO usage

SourceForge.net noreply at sourceforge.net
Wed Aug 8 15:06:16 CEST 2007


Patches item #1770008, was opened at 2007-08-08 12:42
Message generated for change (Comment added) made by gbrandl
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1770008&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 3000
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Christian Heimes (tiran)
Assigned to: Nobody/Anonymous (nobody)
Summary: Remove cStringIO usage

Initial Comment:
The patch removes the import of cStringIO from all Python files and disabled the cStringIO module. It leaves the file around.

Open problems:
* How should io.StringIO handle buffer objects?



----------------------------------------------------------------------

>Comment By: Georg Brandl (gbrandl)
Date: 2007-08-08 13:06

Message:
Logged In: YES 
user_id=849994
Originator: NO

I guess that if you want to handle buffer objects, you should be using
io.BytesIO.

----------------------------------------------------------------------

Comment By: Christian Heimes (tiran)
Date: 2007-08-08 12:52

Message:
Logged In: YES 
user_id=560817
Originator: YES

File Added: stringio_deprecation.patch

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1770008&group_id=5470


More information about the Patches mailing list