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 pitrou
Recipients Laurens, amaury.forgeotdarc, dsm001, eric.smith, pitrou
Date 2011-02-04.18:10:03
SpamBayes Score 3.566869e-05
Marked as misclassified No
Message-id <1296843005.88.0.261989456349.issue11114@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a proof-of-concept patch for the pure Python version of TextIOWrapper.tell(). It turns the O(CHUNK_SIZE) operation into an O(1) operation most of time (still O(CHUNK_SIZE) worst-case - weird decoders and/or crazy input).
History
Date User Action Args
2011-02-04 18:10:05pitrousetrecipients: + pitrou, amaury.forgeotdarc, dsm001, eric.smith, Laurens
2011-02-04 18:10:05pitrousetmessageid: <1296843005.88.0.261989456349.issue11114@psf.upfronthosting.co.za>
2011-02-04 18:10:04pitroulinkissue11114 messages
2011-02-04 18:10:03pitroucreate