make gcDebugOn look at DEBUG_SAVEALL specifically

This commit is contained in:
Darren Ranalli 2006-05-15 20:08:37 +00:00
parent d9affd78e0
commit 1ace31262d

View File

@ -1984,7 +1984,7 @@ def printListEnum(l):
def gcDebugOn():
import gc
return (gc.get_debug() & gc.DEBUG_LEAK) == gc.DEBUG_LEAK
return (gc.get_debug() & gc.DEBUG_SAVEALL) == gc.DEBUG_SAVEALL
import __builtin__
__builtin__.Functor = Functor