This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients docs@python, ncoghlan, pakal, pitrou, terry.reedy
Date 2010-05-29.11:56:17
SpamBayes Score 0.006419967
Marked as misclassified No
Message-id <1275134180.24.0.505928753974.issue8840@psf.upfronthosting.co.za>
In-reply-to
Content
How about reusing the documentation of legacy file objects:

“Truncate the file’s size. If the optional size argument is present, the file is truncated to (at most) that size. The size defaults to the current position. The current file position is not changed. Note that if a specified size exceeds the file’s current size, the result is platform-dependent: possibilities include that the file may remain unchanged, increase to the specified size as if zero-filled, or increase to the specified size with undefined new content.”

http://docs.python.org/library/stdtypes.html#file.truncate
History
Date User Action Args
2010-05-29 11:56:20pitrousetrecipients: + pitrou, terry.reedy, ncoghlan, pakal, docs@python
2010-05-29 11:56:20pitrousetmessageid: <1275134180.24.0.505928753974.issue8840@psf.upfronthosting.co.za>
2010-05-29 11:56:18pitroulinkissue8840 messages
2010-05-29 11:56:17pitroucreate