[Python-bugs-list] [Bug #115531] cStringIO truncate() doesn't support size parameter

noreply@sourceforge.net noreply@sourceforge.net
Sat, 30 Sep 2000 09:27:01 -0700


Bug #115531, was updated on 2000-Sep-27 20:57
Here is a current snapshot of the bug.

Project: Python
Category: Modules
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Summary: cStringIO truncate() doesn't support size parameter

Details: The truncate() method doesn't handle the optional size parameter to truncate, nor does it check its parameters in any way.  Many (all?) methods don't check arguments when they don't expect any.

Assigned to Ken because he works at Digital Creations and can pester Jim about this.

Follow-Ups:

Date: 2000-Sep-27 21:27
By: fdrake

Comment:
A simple test for this is commented out in Lib/test/test_StringIO.py; please uncomment and regenerate output when fixing this bug.
-------------------------------------------------------

Date: 2000-Sep-30 09:27
By: loewis

Comment:
A patch for that is in http://sourceforge.net/patch/?func=detailpatch&patch_id=101721&group_id=5470
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=115531&group_id=5470