src/eric7/DebugClients/Python/DebugBase.py

branch
eric7
changeset 9462
e65379fdbd97
parent 9221
bf71ee032bb4
child 9473
3f23dbf37dbe
equal deleted inserted replaced
9461:24c0c1066090 9462:e65379fdbd97
165 cf = self.currentFrame 165 cf = self.currentFrame
166 while cf is not None and frmnr > 0: 166 while cf is not None and frmnr > 0:
167 cf = cf.f_back 167 cf = cf.f_back
168 frmnr -= 1 168 frmnr -= 1
169 169
170 with contextlib.suppress(Exception): 170 with contextlib.suppress(ImportError, AttributeError):
171 if "__pypy__" in sys.builtin_module_names: 171 if "__pypy__" in sys.builtin_module_names:
172 import __pypy__ 172 import __pypy__
173 173
174 __pypy__.locals_to_fast(cf) 174 __pypy__.locals_to_fast(cf)
175 return 175 return

eric ide

mercurial