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 pakal, pitrou, terry.reedy
Date 2010-05-28.00:16:11
SpamBayes Score 0.054827593
Marked as misclassified No
Message-id <1275005773.71.0.53609845475.issue8840@psf.upfronthosting.co.za>
In-reply-to
Content
This was an exceptional API change in 3.1.2: truncate() doesn't move the file pointer anymore, you have to do it yourself (with seek(0) in your case). I'm sorry for the inconvenience; the change was motivated by the desire of having an API more consistent with other file-handling APIs out there.
History
Date User Action Args
2010-05-28 00:16:14pitrousetrecipients: + pitrou, terry.reedy, pakal
2010-05-28 00:16:13pitrousetmessageid: <1275005773.71.0.53609845475.issue8840@psf.upfronthosting.co.za>
2010-05-28 00:16:12pitroulinkissue8840 messages
2010-05-28 00:16:11pitroucreate