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 martin.panter
Recipients ezio.melotti, johnwalker, martin.panter, serhiy.storchaka, vstinner
Date 2016-01-20.02:09:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1453255795.53.0.630079966645.issue25863@psf.upfronthosting.co.za>
In-reply-to
Content
After thinking about Issue 26158, I realize the seek() magic numbers don’t store any _encoder_ state, only _decoder_ state. That would explain the first bug (write, seek, then read). Though for this codec I suspect the decoder state is not recorded either, hence the bug with tell().

Personally I don’t care much for seeking text files. But if someone wanted to fix the second bug, that might require fixing the incremental decoder’s getstate() implementation.
History
Date User Action Args
2016-01-20 02:09:55martin.pantersetrecipients: + martin.panter, vstinner, ezio.melotti, serhiy.storchaka, johnwalker
2016-01-20 02:09:55martin.pantersetmessageid: <1453255795.53.0.630079966645.issue25863@psf.upfronthosting.co.za>
2016-01-20 02:09:55martin.panterlinkissue25863 messages
2016-01-20 02:09:54martin.pantercreate