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 doerwalter
Recipients BreamoreBoy, doerwalter, lemburg, ncoghlan, tleeuwenburg, vstinner
Date 2014-06-28.09:58:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403949513.57.0.0836114370287.issue12808@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-06-28 09:58:33doerwaltersetrecipients: + doerwalter, lemburg, ncoghlan, vstinner, BreamoreBoy, tleeuwenburg
2014-06-28 09:58:33doerwaltersetmessageid: <1403949513.57.0.0836114370287.issue12808@psf.upfronthosting.co.za>
2014-06-28 09:58:33doerwalterlinkissue12808 messages
2014-06-28 09:58:33doerwaltercreate