Case sensitivity

Jacek Generowicz jacek.generowicz at
Thu Feb 20 11:45:36 CET 2003

mwilson at (Mel Wilson) writes:

>    Not that I know, but:  If Python names were case
> insensitive, then Python's dictionaries.. the ones returned
> by `locals()` and `globals()` for instance.. would have to
> do case insensitive lookups.  This would put them out of
> sync with other dictionaries, notably the ones people might
> use in `exec .. in` statements or calls to `eval`.  Unless
> string comparisons were changed to be case-insensitive..
>    (Or force case normalizatrion within every LOAD_FAST
> operation at run time.)

... Like the Lisp reader does for Lisp ...

(All paths lead to Wome :-)

More information about the Python-list mailing list