Patches item #1757683, was opened at 2007-07-20 13:10 Message generated for change (Settings changed) made by gvanrossum You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1757683&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: Closed Resolution: Accepted Priority: 5 Private: No Submitted By: Alexandre Vassalotti (avassalotti) Assigned to: Nobody/Anonymous (nobody) Summary: Add support for seeking/writing beyond EOF to io.BytesIO Initial Comment: The patch makes BytesIO inserts null bytes between the current EOF and the new write position. See discussion on the Python-3000 mailing list: http://mail.python.org/pipermail/python-3000/2007-June/008592.html ---------------------------------------------------------------------- Comment By: Alexandre Vassalotti (avassalotti) Date: 2007-07-20 20:52 Message: Logged In: YES user_id=1826340 Originator: YES I already have one in my unittests for BytesIO/StringIO in my branch. http://svn.python.org/view/python/branches/cpy_merge/Lib/test/test_memoryio.py?rev=56445&view=markup It is called test_overseek and it is in the PyBytesIOTest class. ---------------------------------------------------------------------- Comment By: Guido van Rossum (gvanrossum) Date: 2007-07-20 20:25 Message: Logged In: YES user_id=6380 Originator: NO Committed revision 56475. Would you mind adding a unit test for this? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1757683&group_id=5470 _______________________________________________ Patches mailing list Patches@python.org http://mail.python.org/mailman/listinfo/patches