compilers

Going meta with python: manipulating ASTs to create an introspective decorator at runtime

Is python interpreted or compiled? Knowing the nuances of the answer will help us build meta code using AST manipulation at runtime. I'll show you how to construct a decorator that can introspect in the local variables without tracing tricks!