[Python-Dev] bytes thoughts (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 2 04:42:49 CET 2006
- Previous message: [Python-Dev] bytes thoughts
- Next message: [Python-Dev] bytes thoughts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
-- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiam! | Christchurch, New Zealand | (I'm not a morning person.) | greg.ewing at canterbury.ac.nz +--------------------------------------+
- Previous message: [Python-Dev] bytes thoughts
- Next message: [Python-Dev] bytes thoughts
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]