Ryan F Kelly

Number of videos:
3
Bytecode: What, Why, and How to Hack it
PyCon AU 2011
Ryan F Kelly
Recorded: Aug. 22, 2011Language: English

What's python really doing when it runs your scripts, and what's with all these .pyc files? Get inside the head of python.exe, learn how it sees your code, and then twist it to your own evil ends. This talk will discuss the basics of python's bytecode format, why and how it is used, and how you can dive into the bytecode of your running program - either to better understand its behaviour, or to make it do things to was never supposed to do....

Say What You Mean: Meta-Programming a Declarative API
PyCon AU 2011
Ryan F Kelly
Recorded: Aug. 22, 2011Language: English

This talk will explore the use of python's meta-programming facilities to create a simple declarative API so that you can say what you mean - write code that focuses on the what and the why without being cluttered by the how. If you've ever wondered how the Django ORM or SQLObject work their magic, this is the talk for you.