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

Guido van Rossum guido@python.org
Wed, 05 Jun 2002 19:25:27 -0400


> Sorry, seems to me like it was on topic for python-dev seeing as
> python dictionaries do not currently have the functionality I
> desire. And it would make a great addition to an already great
> language, IMO. Did not mean for my message to come across as a
> question about applying python... it is not.

The functionality you propose seems to esoteric to add.  It's probably
simpler to make sure you call intern() before storing the key in the
dict anyway.

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