summaryrefslogtreecommitdiffstats
path: root/Lib/lib-stdwin
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib-stdwin')
-rw-r--r--Lib/lib-stdwin/wdbframewin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/lib-stdwin/wdbframewin.py b/Lib/lib-stdwin/wdbframewin.py
index db3d137..f8b84e3 100644
--- a/Lib/lib-stdwin/wdbframewin.py
+++ b/Lib/lib-stdwin/wdbframewin.py
@@ -94,6 +94,7 @@ class FrameWindow(basewin.BaseWindow):
output = ''
else:
globals = self.frame.f_globals
+ globals['__privileged__'] = 1
locals = self.dict
try:
value = eval(expr, globals, locals)