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 eryksun
Recipients Zero, benjamin.peterson, docs@python, eryksun, fornax, pitrou, serhiy.storchaka, steve.dower, stutzbach, vstinner
Date 2016-01-19.17:46:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453225616.37.0.137507915152.issue26158@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy, why doesn't truncate do a seek(0, SEEK_CUR) to synchronize the buffer's file pointer before calling its truncate method? This also affects writing in "+" modes when the two file pointers are out of sync.
History
Date User Action Args
2016-01-19 17:46:56eryksunsetrecipients: + eryksun, pitrou, vstinner, benjamin.peterson, stutzbach, Zero, docs@python, serhiy.storchaka, steve.dower, fornax
2016-01-19 17:46:56eryksunsetmessageid: <1453225616.37.0.137507915152.issue26158@psf.upfronthosting.co.za>
2016-01-19 17:46:56eryksunlinkissue26158 messages
2016-01-19 17:46:56eryksuncreate