commit | cffcc8b195d0086d6089ac4563ac17b4c95471e3 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Sun Nov 19 10:41:41 2006 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Sun Nov 19 10:41:41 2006 +0000 |
tree | 0e082ae41d65af0c069a5df47c70354827ddb830 | |
parent | 283a1353a0834d53b230b22e8db9e7b4fcd220d0 [diff] |
Make cStringIO.truncate raise IOError for negative arguments (even for -1). Fixes the last bit of #1359365.