Author James Hennessy
Recipients James Hennessy, graham.coster, inada.naoki, martin.panter, r.david.murray, serhiy.storchaka
Date 2019-11-26.18:28:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574792891.16.0.729587440926.issue26730@roundup.psfhosted.org>
In-reply-to
Content
The quickest fix for the data corruption problem is to delete the line
    newfile.seek(file.tell(), 0)
from the rollover() method.

This doesn't fix the inconsistency of tell() and seek(), but it's very low risk.  It's technically a change to the API, that rollover() no longer preserves the seek position, but unless the user was writing only characters from the ISO-8859-1 character set, it wasn't working properly before anyway.
History
Date User Action Args
2019-11-26 18:28:11James Hennessysetrecipients: + James Hennessy, r.david.murray, inada.naoki, martin.panter, serhiy.storchaka, graham.coster
2019-11-26 18:28:11James Hennessysetmessageid: <1574792891.16.0.729587440926.issue26730@roundup.psfhosted.org>
2019-11-26 18:28:11James Hennessylinkissue26730 messages
2019-11-26 18:28:10James Hennessycreate