[Python-Dev] bytes thoughts (original) (raw)
Baptiste Carvello baptiste13 at altern.org
Fri Mar 3 01:07:43 CET 2006
- Previous message: [Python-Dev] bytes thoughts
- Next message: [Python-Dev] bytes thoughts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 ?
- Previous message: [Python-Dev] bytes thoughts
- Next message: [Python-Dev] bytes thoughts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]