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 vstinner
Recipients pitrou, serhiy.storchaka, vstinner
Date 2013-09-30.21:44:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1380577453.08.0.227099502329.issue19087@psf.upfronthosting.co.za>
In-reply-to
Content
I took me some time, but Antoine explained me the use case on IRC :-) The patch is useful is the bytearray is used as a FIFO: remove front, append tail. It can be seen as an implementation for BufferedReader. Consumer/producer is a common pattern, especially consuming one end (front) and produce at the other end (tail).
History
Date User Action Args
2013-09-30 21:44:13vstinnersetrecipients: + vstinner, pitrou, serhiy.storchaka
2013-09-30 21:44:13vstinnersetmessageid: <1380577453.08.0.227099502329.issue19087@psf.upfronthosting.co.za>
2013-09-30 21:44:13vstinnerlinkissue19087 messages
2013-09-30 21:44:12vstinnercreate