Don't hide locals by globals.

This commit is contained in:
Dmitry Trofimov
2014-09-17 18:02:13 +04:00
parent 839c15ea09
commit 051056515c
+1 -1
View File
@@ -214,8 +214,8 @@ def getVariable(thread_id, frame_id, scope, attrs):
else:
# for a frame access both locals and globals as Python does
var = {}
var.update(frame.f_locals)
var.update(frame.f_globals)
var.update(frame.f_locals)
for k in attrList:
_type, _typeName, resolver = getType(var)