The magic of metaprogramming
View all talks for Kiwi PyCon 2011
- Title
- The magic of metaprogramming
- Speaker
- Jeff Rush
- Speaker's profile
- Jeff Rush is the past Python Advocacy Coordinator, organizer of the Dallas/Ft. Worth Pythoneers usergroup as well as conference co-chair of PyCon 2006 and 2007 held in Dallas. He has been providing Python and embedded Linux/robotics consulting service since 1996, ported Python to OS/2 and created the initial RPMs for Zope used by Red Hat. He also serves as a director of the Python Software Foundation and the Zope Foundation.
- Topic
- Core Python
- Abstract
- Learn the magic of metaprogramming in Python.
- Outline
- Learn the magic of writing Python code that monitors, alters and reacts to module imports, changes to variables, calls to functions and invocations of the builtins. Learn how to slide a class underneath a module to intercept reads/writes, place automatic type checking over your object attributes and use stack peeking to make selected attributes private to their owning class. We'll cover import hacking, metaclasses, descriptors and decorators and how they work internally.
- Audience
- Advanced Programmer
- Tags