[Python-Dev] bytes type discussion (original) (raw)

Adam Olsen rhamph at gmail.com
Thu Feb 16 12:00:38 CET 2006


On 2/15/06, "Martin v. Löwis" <martin at v.loewis.de> wrote:

Adam Olsen wrote: > Making it an error to have 8-bit str literals in 2.x would help > educate the user that they will change behavior in 3.0 and not be > 8-bit str literals anymore.

You would like to ban string literals from the language? Remember: all string literals are currently 8-bit (byte) strings.

That's a rather literal interpretation of what I said. ;) What I meant was to only accept 7-bit characters, namely ascii.

-- Adam Olsen, aka Rhamphoryncus



More information about the Python-Dev mailing list