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

Guido van Rossum guido@python.org
Wed, 05 Jun 2002 21:11:47 -0400

> It is my understanding that calling intern creates a string that is
> forever immortal? [Perhaps this is a question for python-list
> though?]


> For our application, we can not afford to "leak" the memory we would
> lose to the immortal strings.

Thanks for explaining that.  The use case still seems to esoteric to
me to warrant adding a feature to Python.  You could always write an
extension that does it though. :-)

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