Patches item #1774828, was opened at 2007-08-15 12:13 Message generated for change (Comment added) made by avassalotti You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1774828&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: Alexandre Vassalotti (avassalotti) Assigned to: Nobody/Anonymous (nobody) Summary: Override flags set by IOBase in io.StringIO Initial Comment: This patch fixes a small bug in the flags of io.StringIO: >>> import io >>> s = io.StringIO() >>> s.writable() False >>> s.seekable() False >>> s.readable() False All the flags should have the value True. ---------------------------------------------------------------------- >Comment By: Alexandre Vassalotti (avassalotti) Date: 2007-08-15 12:28 Message: Logged In: YES user_id=1826340 Originator: YES This should probably be fixed in TextIOWrapper too: >>> f = open("+spam", "w") >>> f.writable() False ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1774828&group_id=5470 _______________________________________________ Patches mailing list Patches@python.org http://mail.python.org/mailman/listinfo/patches