[Python-ideas] Bitwise operations on bytes class

Alexander Belopolsky alexander.belopolsky at gmail.com
Wed Jun 18 18:05:30 CEST 2014


On Wed, Jun 18, 2014 at 11:51 AM, Antoine Pitrou <antoine at python.org> wrote:

> Rather than adding new operations to bytes/bytearray, an alternative is a
> separate type ("bitview"?) which would take a writable buffer as argument
> and then provide the operations over that buffer.


+1

.. and it does not have to be part of stdlib.  The advantage of
implementing this outside of stdlib is that users of older versions of
Python will benefit immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140618/ecadb32a/attachment.html>


More information about the Python-ideas mailing list