Releasing the intern dictionary (was Re: [Python-Dev] d.get_key(key) -> key?)
Barry A. Warsaw
barry@zope.com
Thu, 6 Jun 2002 11:47:19 -0400
>>>>> "GvR" == Guido van Rossum <guido@python.org> writes:
>> What about exposing _Py_ReleaseInternedStrings() to Python,
>> say, from the gc module?
GvR> If it's going to be an exposed API, it will have to live in
GvR> stringobject.c, since the 'interned' dict is a static global
GvR> there.
Actually, I don't think so, since _Py_ReleaseInternedStrings() is
already an extern function.
GvR> Wanna give it a crack?
http://sourceforge.net/tracker/index.php?func=detail&aid=565378&group_id=5470&atid=305470
Doc changes and test case included.
-Barry