[Python-Dev] bytes thoughts
Nick Coghlan
ncoghlan at gmail.com
Thu Mar 2 10:19:55 CET 2006
Greg Ewing wrote:
> Baptiste Carvello wrote:
>
>> while manipulating binary data will happen mostly with bytes objects, some
>> operations are better done with ints, like the bit manipulations with the &|~^
>> operators.
>
> Why not just support bitwise operations directly
> on the bytes object?
>
+1!
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
More information about the Python-Dev
mailing list