Playing with Python's internals

preview_player
Показать описание
Alex Hall

This talk will look at two of my libraries which stretch the limits of what's possible with Python:

They work by inspecting and manipulating Python's inner workings: execution frames, code objects, and most importantly the Abstract Syntax Tree (AST). I will give an overview of these concepts and explain how some parts of the libraries work.

This is for people interested in peeking under the hood of Python from within Python, i.e. no C and no messing with the interpreter.

pyconza2018

python
Рекомендации по теме
Комментарии
Автор


Contents of the video:
1:03 : demo of birdseye
7:29 : introduction to the AST module which birdseye uses
10:13 : some of how birdseye works
18:29 : demo and explanation of sorcery
29:52 : questions and answers

alex.mojaki