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 benjamin.peterson, jcon, martin.panter, nadeem.vawda, pitrou, serhiy.storchaka, stutzbach, vstinner
Date 2015-04-13.17:24:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428945846.58.0.690274745815.issue12053@psf.upfronthosting.co.za>
In-reply-to
Content
> The proposed API seems strange to me. Is there an illustration of how 
> it might be used? I suspect it wouldn’t be all that useful, and could 
> more or less be implemented with the existing methods:

True, but having it a Buffered method would allow it to optimize buffer usage and avoid some memory copies (the first read() call and the peek() call, for example).

In any case, Guido was rather against this proposal, so I'm not sure there's much sense in keeping discussing it.
History
Date User Action Args
2015-04-13 17:24:06pitrousetrecipients: + pitrou, vstinner, nadeem.vawda, benjamin.peterson, stutzbach, jcon, martin.panter, serhiy.storchaka
2015-04-13 17:24:06pitrousetmessageid: <1428945846.58.0.690274745815.issue12053@psf.upfronthosting.co.za>
2015-04-13 17:24:06pitroulinkissue12053 messages
2015-04-13 17:24:06pitroucreate