On Fri, 6 Dec 2002, Tim Peters wrote: > > 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. Just caught that too. FYI, it is also missing from the last Python 2.2 checkout that I did. -Kevin -- Kevin Jacobs The OPAL Group - Enterprise Systems Architect Voice: (216) 986-0710 x 19 E-mail: jacobs@theopalgroup.com Fax: (216) 986-0714 WWW: http://www.theopalgroup.com
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