Injecting code into a function

Steffen Glückselig usenet at gungfu.de
Mon Apr 25 09:14:44 EDT 2005


Perhalps metaclasses are of interest to you. You can decorate existing
methods with additional behavior using metaclasses. A simple example
can be found at http://soiland.no/software/logmeta
I've gathered some more links under
http://www.gungfu.de/facts/wiki/field.php?pagename=Main.MetaProgramming


regards
Steffen




More information about the Python-list mailing list