[Python-3000] Unicode strings, identifiers, and import (original) (raw)
Jason Orendorff jason.orendorff at gmail.com
Mon May 14 19:38:55 CEST 2007
- Previous message: [Python-3000] Unicode strings, identifiers, and import
- Next message: [Python-3000] Unicode strings, identifiers, and import
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 5/14/07, Guido van Rossum <guido at python.org> wrote:
Does the tokenizer do this for all string literals, too? Otherwise you could still get surprises with things like x.foo vs. getattr(x, "foo"), if the name foo were normalized but the string "foo" were not.
It does not; so yes, you could.
-j
- Previous message: [Python-3000] Unicode strings, identifiers, and import
- Next message: [Python-3000] Unicode strings, identifiers, and import
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]