On 6/6/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 6/6/07, Rauli Ruohonen <[EMAIL PROTECTED]> wrote: > > On 6/6/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > > Why should the lexer apply normalization to literals behind my back?
> > The lexer shouldn't, but NFC normalizing the source before the lexer > > sees it would be slightly more robust and standards-compliant. > I have no opinion on this, but NFC normalizing the source shouldn't > affect the use of \u.... in string literals. Agreed; normalizing the source should be applied only to code points; the code sequence <0x5c, 0x75> normalizes to itself. If there is a \u in a string, it will still be there after normalization, before python lexes. If there is a \u outside a string, it will still be there to cause syntax errors. -jJ _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
