[Python-Dev] Re: adding a bytes sequence type to Python (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Wed Aug 18 21:06:09 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:
Indeed... and the same is true for almost all other methods (except maybe .replace()).
Sounds like a lot of code will break.
We will see. The default string type will be Unicode, so code using .lower will continue to work in many cases.
The question is what open(path,"r").read() will return. It seems that Guido wants users to specify "rb" if they want that to be byte strings.
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 ]