[Python-Dev] Implement Aspect-oriented programming

Lennart Regebro regebro at gmail.com
Sun Jun 12 18:52:53 CEST 2011


On Sat, Jun 11, 2011 at 10:29, Jiawei Li <jiawei.h.li at gmail.com> wrote:
> For example, the logging module is not very useful right now, as it requires
> sprinkling small one-liners all over my code - not exactly ideal.
> Why not take a page from aspect-oriented programming and allow for injection
> of code with point cuts?

I'm not sure why you would say this isn't allowed already...

-- 
Lennart Regebro: http://regebro.wordpress.com/
Porting to Python 3: http://python3porting.com/


More information about the Python-Dev mailing list