>> 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
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
> #
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