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 BreamoreBoy, alexandre.vassalotti, amaury.forgeotdarc, belopolsky, collinwinter, hagen, pitrou, vstinner
Date 2010-09-27.20:52:14
SpamBayes Score 0.00073035
Marked as misclassified No
Message-id <>
One problem with the seek() approach is that some file-like objects have expensive seeks. One example is GzipFile, where seek(n) is O(n) (it first rewinds to the start of file, then reads n decompressed bytes). In the end, unpickling from a GzipFile becomes O(n**2).

I will try to use peek() instead.
Date User Action Args
2010-09-27 20:52:16pitrousetrecipients: + pitrou, collinwinter, amaury.forgeotdarc, belopolsky, vstinner, alexandre.vassalotti, hagen, BreamoreBoy
2010-09-27 20:52:16pitrousetmessageid: <>
2010-09-27 20:52:14pitroulinkissue3873 messages
2010-09-27 20:52:14pitroucreate