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/2008-January/076579.html below:

[Python-Dev] refleaks and caches

[Python-Dev] refleaks and caches [Python-Dev] refleaks and cachesBrett Cannon brett at python.org
Mon Jan 28 02:33:05 CET 2008
On Jan 27, 2008 3:37 PM, Christian Heimes <lists at cheimes.de> wrote:
> Phillip J. Eby wrote:
> > Expose an API to clear the cache, and clear it at shutdown?  It
> > should probably be part of interpreter shutdown anyway.
>
> Good point. I've implemented PyType_ClearCache and exposed it via
> sys._cleartypecache(). The function is called during finalization, too.
>

Ignoring whether this is the right thing to do, should this be in sys or in gc?

-Brett
More information about the Python-Dev mailing list

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