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

noreply@sourceforge.net noreply@sourceforge.net
Wed, 27 Sep 2000 21:27:34 -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.


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

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

For detailed info, follow this link: