treat local as a black box
This commit is contained in:
parent
57a3d4d6d8
commit
d853d9a9af
|
@ -152,8 +152,8 @@ class DebugInterpreter(ast.NodeVisitor):
|
||||||
local = self.frame.eval(co)
|
local = self.frame.eval(co)
|
||||||
except Exception:
|
except Exception:
|
||||||
# have to assume it isn't
|
# have to assume it isn't
|
||||||
local = False
|
local = None
|
||||||
if not self.frame.is_true(local):
|
if local is None or not self.frame.is_true(local):
|
||||||
return name.id, result
|
return name.id, result
|
||||||
return explanation, result
|
return explanation, result
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue