Message258635
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. |
|
Date |
User |
Action |
Args |
2016-01-20 02:09:55 | martin.panter | set | recipients:
+ martin.panter, vstinner, ezio.melotti, serhiy.storchaka, johnwalker |
2016-01-20 02:09:55 | martin.panter | set | messageid: <1453255795.53.0.630079966645.issue25863@psf.upfronthosting.co.za> |
2016-01-20 02:09:55 | martin.panter | link | issue25863 messages |
2016-01-20 02:09:54 | martin.panter | create | |
|