pytilities.aopΒΆ

An aspect oriented utility library

In contrast to most libraries, this library supports giving advice to properties (decorators in general) as well.

Features:

  • Giving advice to:
    • type of object:
      • all instances of a class
      • some instances
    • kind of member:
      • any descriptor (function, property, classmethod, ...)
      • a non-existent attribute

Restrictions:

  • Cannot give advice to built-in/extension types, e.g. property

See the online user guide for more information.

Contents

Previous topic

pytilities

Next topic

pytilities.aop.aspects

This Page