Case sensitivity
Jacek Generowicz
jacek.generowicz at cern.ch
Thu Feb 20 05:45:36 EST 2003
mwilson at the-wire.com (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