[Python-Dev] bytes thoughts

Baptiste Carvello baptiste13 at altern.org
Fri Mar 3 01:07:43 CET 2006


Greg Ewing a écrit :
> Why not just support bitwise operations directly
> on the bytes object?
> 

Sure, what counts is that all the nice features that Python has for editing 
binary data are usable with the bytes object.
These include bitwise operations, hex() and oct() representation functions and 
litterals, the struct module (as Paul Svensson kindly reminded me). Do I forget 
something ?



More information about the Python-Dev mailing list