Message221778
The requirement that getstate() returns a (buffer, int) tuple has to do with the fact that for text streams seek() and tell() somehow have to take the state of the codec into account. See _pyio.TextIOWrapper.(seek|tell|_pack_cookie|_unpack_cookie).
However I can't remember the exact history of the specification. |
|
Date |
User |
Action |
Args |
2014-06-28 09:58:33 | doerwalter | set | recipients:
+ doerwalter, lemburg, ncoghlan, vstinner, BreamoreBoy, tleeuwenburg |
2014-06-28 09:58:33 | doerwalter | set | messageid: <1403949513.57.0.0836114370287.issue12808@psf.upfronthosting.co.za> |
2014-06-28 09:58:33 | doerwalter | link | issue12808 messages |
2014-06-28 09:58:33 | doerwalter | create | |
|