pythonでアスペクト指向メモ

pythonでアスペクト指向プログラミングするために、いろいろライブラリがあるみたい。 適当に目についたのを試してみる。 aspyct from Aspyct.aop import * class MyAspect(Aspect): def atCall(self, cd): print 'called with args', cd.args def atReturn(self, cd): print 'catched return value:', cd.returned @MyAsp…