A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-June/025067.html below:

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

[Python-Dev] d.get_key(key) -> key? [Python-Dev] d.get_key(key) -> key?Guido van Rossum guido@python.org
Thu, 06 Jun 2002 08:57:41 -0400
>     GvR> An occasional run through the 'interned' dict (in
>     GvR> stringobject.c) looking for strings with refcount 2 would do
>     GvR> this.  Maybe something for the gc module do handle as a
>     GvR> service whenever it runs its last-generation collection?
> 
> What about exposing _Py_ReleaseInternedStrings() to Python, say, from
> the gc module?

If it's going to be an exposed API, it will have to live in
stringobject.c, since the 'interned' dict is a static global there.

Wanna give it a crack?

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




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4