./wip/py-aspects, Lightweight aspect oriented programming library for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.3, Package name: py26-aspects-1.3, Maintainer: kamel.derouiche

Aspects.py is a lightweight approach to aspect oriented programming
(AOP) in Python. Aspects.py is a lightweight and low-level library for
intercepting 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 call arguments and the return values
of wrapped functions and handle exceptions. There can be many wraps on
the same function. The wraps can be enabled, disabled and removed in any order
In the terminology of aspect-oriented programming, the library allows
applying advices (wraps) to call join points of methods and
functions in around fashion.


Required to run:
[lang/python26]

Master sites:

SHA1: 59b6cd53d7ac911b8de005d164aaace63f934ed6
RMD160: 2366ad4fc39dc202c6b88f3d680eab2ae6bbf1e2
Filesize: 23.911 KB

Version history: (Expand)


CVS history: (Expand)


   2009-04-12 01:59:11 by Kamel Derouiche | Files touched by this commit (1)
Log message:
New description

   2009-03-22 23:29:47 by Kamel Derouiche | Files touched by this commit (4) | Imported package
Log message:
Import py25-aspects-1.3 as wip/py-aspects.

Aaspects is a lightweight and low-level library for intercepting 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 call arguments and the return values of wrapped functions
and handle exceptions. There can be many wraps on the same function. The
wraps can be enabled, disabled and removed in any order. In the terminology
of aspect-oriented programming, the library allows applying advices (wraps)
to call join points of methods and functions in around fashion