pythonware.com products ::: library ::: search ::: daily Python-URL!
A Django site.
   

Daily Python-URL

2008-04-23

Antti Kervinen: Lightweight Approach to AOP in Python ["The aspects.py library provides means to intercept function calls. Functions and methods (also in Python standard library and third party code) can be wrapped so that when they are called, the wrap is invoked first. Depending on the wrap, the execution of the original function can be omitted, or the function can be called arbitrarily many times. Wraps are able to modify the arguments and the return value of the original function."]

::: back to daily-URL