Fixed slow inspect.stack() on PyPy

Is something like:
```python
yeild from (frame.f_back for frame in sys._getframe if frame is not None)
```
works the same?