Re: [Python-3000] PEP 3112

2007-05-07 Thread Martin v. Löwis
>> 1. in Grammar changes: Each shortstringchar or longstringchar must >>be a character whose Unicode ordinal value is between 1 and >>127 inclusive. > > Sounds like a good fix to me; I agree that bytes literals, like > Unicode literals, should not vary depending on the source encoding. In

Re: [Python-3000] PEP 3112

2007-05-07 Thread Guido van Rossum
On 5/6/07, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > I just read PEP 3112, and I believe it contains a > flaw/underspecification. > > It says > > # Each shortstringchar or longstringchar must be a character between 1 > # and 127 inclusive, regardless of any encoding declaration [2] in the > #

[Python-3000] PEP 3112

2007-05-06 Thread Martin v. Löwis
I just read PEP 3112, and I believe it contains a flaw/underspecification. It says # Each shortstringchar or longstringchar must be a character between 1 # and 127 inclusive, regardless of any encoding declaration [2] in the # source file. What does that mean? In particular, what is "a character