summaryrefslogtreecommitdiff
path: root/Mac/Tools/IDE/PythonIDEMain.py
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-11-01 17:35:23 +0000
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-11-01 17:35:23 +0000
commita765c120f6fd3004ad3dbc34771f848b19caf18d (patch)
tree4f5036c2429b2ef82908989b6fe9a01352eaff16 /Mac/Tools/IDE/PythonIDEMain.py
parentf49c6f9954aa59e29c8b392347646f95cbf8215a (diff)
downloadcpython-git-a765c120f6fd3004ad3dbc34771f848b19caf18d.tar.gz
Add has_finalizer predictate function. Use it when deciding which
objects to save in gc.garbage. This should be the last change needed to fix SF bug 477059: "__del__ on new classes vs. GC". Note that this change slightly changes the behavior of the collector. Before, if a cycle was found that contained instances with __del__ methods then all instance objects in that cycle were saved in gc.garbage. Now, only objects with __del__ methods are saved in gc.garbage.
Diffstat (limited to 'Mac/Tools/IDE/PythonIDEMain.py')
0 files changed, 0 insertions, 0 deletions