[Python-Dev] Re: adding a bytes sequence type to Python (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Wed Aug 18 20:06:37 CEST 2004
- Previous message: [Python-Dev] Re: adding a bytes sequence type to Python
- Next message: [Python-Dev] Re: adding a bytes sequence type to Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
M.-A. Lemburg wrote:
I'm still not convinced that we can simply drop the existing immutable 8-bit string type and replace it with a mutable bytes or buffer type, e.g. would buffer.lower() work on the buffer itself or return a lowered copy ?
The byte string type would not have a .lower method, as "lowering" is not meaningful for bytes, only for characters.
Regards, Martin
- Previous message: [Python-Dev] Re: adding a bytes sequence type to Python
- Next message: [Python-Dev] Re: adding a bytes sequence type to Python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]