Tim Peters wrote: > test test_gc failed -- test_list: actual 10, expected 1 Hmm. > Here's the list of garbage objects it found: > > [<class 'test_descr.mysuper'>, > {'__dict__': <attribute '__dict__' of 'mysuper' objects>, > '__module__': 'test_descr', > '__weakref__': <member '__weakref__' of 'mysuper' objects>, > '__doc__': None, > '__init__': <function __init__ at 0x00CC00D8>}, > (<class 'test_descr.mysuper'>, <type 'super'>, <type 'object'>), > (<type 'super'>,), > [[...]], > <attribute '__dict__' of 'mysuper' objects>, > <member '__weakref__' of 'mysuper' objects>, > <function __init__ at 0x00CC00D8>, > (<cell at 0x00CB4DB0: type object at 0x00768420>,), > <cell at 0x00CB4DB0: type object at 0x00768420>] I wonder if some new cyclic garbage structure needs two gc.collect() passes in order to break it up. Neil
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