[Python-ideas] Bitwise operations on bytes class
Nick Coghlan
ncoghlan at gmail.com
Wed Jun 18 04:34:42 CEST 2014
On 18 Jun 2014 09:31, "MRAB" <python at mrabarnett.plus.com> wrote:
>
> On 2014-06-17 23:10, Nick Coghlan wrote:
> >
> > Wanting an arithmetic shift would be a sign that one is working with
integers rather than arbitrary binary data, and ints or one of the fixed
width types from NumPy would likely be a better fit. So leaving that out of
any proposal sounds fine to me.
> >
> What about rotates?
Bitwise rotation would be a bit of a pain to build on top of bitwise
masking and logical shifts, but it could be done, so I think it would make
more sense to keep a proposal minimal.
Cheers,
Nick.
>
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140618/e839257f/attachment.html>
More information about the Python-ideas
mailing list