[Patches] [ python-Patches-1180305 ] clarify behavior of StringIO objects when preinitialized

SourceForge.net noreply at sourceforge.net
Sun Apr 10 20:15:48 CEST 2005


Patches item #1180305, was opened at 2005-04-10 18:15
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1180305&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Georg Brandl (gbrandl)
Assigned to: Nobody/Anonymous (nobody)
Summary: clarify behavior of StringIO objects when preinitialized

Initial Comment:
This patch clarifies that a StringIO object, when given
a value in the constructor, behaves like a file opened
with mode 'r+': the file pointer is positioned at the
beginning, and write() overwrites the previous string.

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

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


More information about the Patches mailing list