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() In the context of the datetime objects, this leak only affects the Python version. It also requires that the Leaker class is a new-style object. I'm in the process of isolating the other leak that hits both the Python and C verions of datetime in the test_pickling() function, though I suspect that may be other incarnations of the above problem. Fun, fun! -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