[Python-3000] Immutable bytes -- looking for volunteer (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Fri Sep 28 03:14:35 CEST 2007
- Previous message: [Python-3000] Immutable bytes -- looking for volunteer
- Next message: [Python-3000] Immutable bytes -- looking for volunteer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gregory P. Smith wrote:
Would a special case in the b'x' comparison tests that knows how to compare a len==1 bytes (mutable or not) object to an integer be reasonable or just alternately confusing?
Comparison isn't the only thing you might want to do with bytes. Doing this just for comparison would be rather arbitrary.
-- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiem! | Christchurch, New Zealand | (I'm not a morning person.) | greg.ewing at canterbury.ac.nz +--------------------------------------+
- Previous message: [Python-3000] Immutable bytes -- looking for volunteer
- Next message: [Python-3000] Immutable bytes -- looking for volunteer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]