2010-11-03から1日間の記事一覧
pythonでアスペクト指向プログラミングするために、いろいろライブラリがあるみたい。 適当に目についたのを試してみる。 aspyct from Aspyct.aop import * class MyAspect(Aspect): def atCall(self, cd): print 'called with args', cd.args def atReturn(…
pythonでアスペクト指向プログラミングするために、いろいろライブラリがあるみたい。 適当に目についたのを試してみる。 aspyct from Aspyct.aop import * class MyAspect(Aspect): def atCall(self, cd): print 'called with args', cd.args def atReturn(…