make gcDebugOn look at DEBUG_SAVEALL specifically
This commit is contained in:
parent
d9affd78e0
commit
1ace31262d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue