[pypy-issue] Issue #2628: sys._current_frames cannot be used with inspect.getframeinfo (pypy/pypy)

Liran Haimovitch issues-reply at bitbucket.org
Sat Aug 12 11:26:57 EDT 2017


New issue 2628: sys._current_frames cannot be used with inspect.getframeinfo
https://bitbucket.org/pypy/pypy/issues/2628/sys_current_frames-cannot-be-used-with

Liran Haimovitch:

When calling sys._current_frames a dictionary with "__builtin__.fake_frame" values is returned.

These objects cannot be properly used with the inspect module getframeinfo function as it tests the object type (inspect.py at 180).

TracebackType and FrameType show up as "traceback" and "frame".




More information about the pypy-issue mailing list