[New-bugs-announce] [issue3489] add rotate{left, right} methods to bytearray

Antoine Pitrou report at bugs.python.org
Fri Aug 1 19:57:58 CEST 2008

New submission from Antoine Pitrou <pitrou at free.fr>:

While tweaking the BufferedWriter implementation it came to me that it
would be useful to have rotate_left and rotate_right methods on
bytearray,  so as to rotate the array by a number of bytes without any
wasteful memory allocations and copies.

(or, if memoryview is one day implemented it could be a memoryview
method instead...)

components: Interpreter Core
messages: 70579
nosy: pitrou
priority: normal
severity: normal
status: open
title: add rotate{left,right} methods to bytearray
type: feature request
versions: Python 2.7, Python 3.1

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list