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-December/030940.html below:

[Python-Dev] We got leaks!

[Python-Dev] We got leaks! [Python-Dev] We got leaks!Tim Peters tim.one@comcast.net
Fri, 06 Dec 2002 18:32:18 -0500
> First minimal test case:
>
>   class Leaker(object):
>     def __hash__(self): return 1
>
>   for i in range(10):
>       hash( Leaker() )
>       print '*' * 10, 'total refs:', sys.gettotalrefcount()

This one is clearly a missing decref in slot_tp_hash(), leaking a reference
to the integer result object.  If SourceForge wakes up, I've got a fix ready
to check in.




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