Package genshi :: Package template :: Module eval

Module eval

Support for "safe" evaluation of Python expressions.
Classes
  Code
Abstract base class for the Expression and Suite classes.
  Expression
Evaluates Python expressions used in templates.
  Suite
Executes Python statements used in templates.
  UndefinedError
Exception thrown when a template expression attempts to access a variable not defined in the context.
  Undefined
Represents a reference to an undefined variable.
  LenientLookup
Default variable lookup mechanism for expressions.
  StrictLookup
Strict variable lookup mechanism for expressions.