ee1ccc95b1
New in Py-notify 0.3.1: * All methods that accepted arbitrary argument numbers now also accept arbitrary keyword arguments. * Updated to compile and work with Python 3.0rc1. * A few minor fixes for potential bugs and optimizations in `notify.gc' module and in documentation. * 6 more unit test (164/186 in total).
8 lines
540 B
Text
8 lines
540 B
Text
Py-notify is a Python package providing tools for implementing `Observer
|
|
programming pattern`. These tools include signals, conditions and variables.
|
|
|
|
Signals are lists of handlers that are called when signal is emitted. Conditions
|
|
are basically boolean variables coupled with a signal that is emitted when
|
|
condition state changes. They can be combined using standard logical operators
|
|
(*not*, *and*, etc.) into compound conditions. Variables, unlike conditions, can
|
|
hold any Python object, not just booleans, but they cannot be combined.
|