[Python-Dev] Re: adding a bytes sequence type to Python

"Martin v. Löwis" martin at v.loewis.de
Wed Aug 18 20:06:37 CEST 2004


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



More information about the Python-Dev mailing list