Fixed slow inspect.stack() on PyPy