Kiwi Pycon 2011 - The Magic of meta-programming
by shearichard on Oct 22, 2011
- 448 views
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 ...
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.
Accessibility
Categories
Upload Details
Uploaded via SlideShare as Microsoft PowerPoint
Usage Rights
© All Rights Reserved
Statistics
- Likes
- 1
- Downloads
- 0
- Comments
- 0
- Embed Views
- Views on SlideShare
- 448
- Total Views
- 448