bpo-30983: Revert changes which broke most buildbots (#3100) · python/cpython@7cc3399 (original) (raw)

Original file line number Diff line number Diff line change
@@ -1502,10 +1502,8 @@ def is_python_frame(self):
1502 1502 return False
1503 1503
1504 1504 def is_evalframeex(self):
1505 -'''Is this a PyEval_EvalFrameEx or _PyEval_EvalFrameDefault (PEP 0523)
1506 - frame?'''
1507 -if self._gdbframe.name() in ('PyEval_EvalFrameEx',
1508 -'_PyEval_EvalFrameDefault'):
1505 +'''Is this a PyEval_EvalFrameEx frame?'''
1506 +if self._gdbframe.name() == 'PyEval_EvalFrameEx':
1509 1507 '''
1510 1508 I believe we also need to filter on the inline
1511 1509 struct frame_id.inline_depth, only regarding frames with