# Frame introspection in Pyston

<http://blog.pyston.org/2014/11/06/frame-introspection-in-pyston/>

- Host: [blog.pyston.org](https://links.thingelstad.xyz/hosts/blog.pyston.org/)
- Saved: November 5, 2014 (2014-11-06T03:21:21Z)
- Record: https://links.thingelstad.xyz/links/c413b2628fbb/
- JSON: https://links.thingelstad.xyz/links/c413b2628fbb.json

## From the page (probably an excerpt, not Jamie's words)

We recently landed a new feature for Pyston: frame introspection, the ability to inspect the local variables of stack frames (usually but not always the current one).  There are a couple ways to directly make use of this feature from your Python code, such as the locals() method and the f_locals attribute on frame objects.  There are also some Python features that aren’t explicitly about locals but require them to be available, such as eval() and exec statements.  Finally, frame introspection is important for the JIT to be able to introspect its own stack frames to be able to support features such as deoptimization.  (I should mention that none of these features work yet since they all depend on the base frame introspection mechanism, which only just got added.)

## Facts

- Kind: [Page](https://links.thingelstad.xyz/kinds/page/)

## Saved the same week

- [Secure Messaging Scorecard | Electronic Frontier Foundation](https://links.thingelstad.xyz/links/6b4b6ec109ed/) (eff.org, November 5, 2014)
- [Introducing Dynomite - Making Non-Distributed Databases, Distributed](https://links.thingelstad.xyz/links/2140f4be849b/) (medium.com, November 5, 2014)
- [OmniFocus Perspectives Redux: People & Meetings – SimplicityBliss](https://links.thingelstad.xyz/links/bd042407c0b9/) (simplicitybliss.com, November 5, 2014)
- [Crypto 101](https://links.thingelstad.xyz/links/e5a4afb49948/) (crypto101.github.io, November 5, 2014)
- [I’m Terrified of My New TV: Why I’m Scared to Turn This Thing On — And You’d Be, Too | Brennan Center for Justice](https://links.thingelstad.xyz/links/a1b9ba9c7aec/) (brennancenter.org, November 5, 2014)

## Elsewhere

- Wayback Machine: https://web.archive.org/web/*/http://blog.pyston.org/2014/11/06/frame-introspection-in-pyston/
