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 jcon
Recipients benjamin.peterson, jcon, nadeem.vawda, pitrou, stutzbach, vstinner
Date 2011-10-04.01:14:42
SpamBayes Score 2.3031103e-05
Marked as misclassified No
Message-id <1317690886.94.0.997272218868.issue12053@psf.upfronthosting.co.za>
In-reply-to
Content
Here is an update with the C implementation. I think a working prototype will be helpful before another round on python-dev. 


I'm not sure how to handle unseekable, non-blocking streams where the read returns before `skip` bytes are exhausted. If prefetch() returns 0, then the caller would then have to use tell() to ensure subsequent reads are sane. In other words it seems prefetch() will leave the stream in an unpredictable state. Antoine, what are your thoughts?
History
Date User Action Args
2011-10-04 01:14:47jconsetrecipients: + jcon, pitrou, vstinner, nadeem.vawda, benjamin.peterson, stutzbach
2011-10-04 01:14:46jconsetmessageid: <1317690886.94.0.997272218868.issue12053@psf.upfronthosting.co.za>
2011-10-04 01:14:46jconlinkissue12053 messages
2011-10-04 01:14:45jconcreate