amaury forgeot darc wtfjetjlgmailcom christian heimes wrote georg brandl schrieb somehow knew youd one find problem agreed amaury really good finding loose ends parser ast code still cant wrap brain around ast code see light end code actually ast compiler part know least cpython code approach used bit bruteforce may work reference leaks first write big leaking script x xrange100000 leaking_function since memory usage increase dramatically refcount problem new object every time modify py_incref macro generates breakpoint debugger refcount large windows something like obrefcount 10000 __asm int 3 gdb think may signal sigusr1 carefully inspect code time debugger stops fortunately many functions skipped pydict_setitem bulletproof parts code 20th break good one lack symmetry py_incref py_decref amaury forgeot darc _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom thu 07 aug 2008 040132 0100 pythondev nested classes leaking compiler