[Python-Dev] d.get_key(key) -> key?

Guido van Rossum guido@python.org
Wed, 05 Jun 2002 20:53:02 -0400


> You could keep a separate dictionary mapping each
> "canonical" value to itself, and use that for
> normalising things before looking up the main
> dictionary.

That's what intern() does.  Can't he just call intern()?  Or does he
want the *uninterned* version of the key back?  Why on earth?

--Guido van Rossum (home page: http://www.python.org/~guido/)