PyDispatcher 2.0.1

Operating systemsOS : Windows / Linux / Mac OS / BSD / Solaris
Program licensingScript Licensing : BSD - BSD License
CreatedCreated : Apr 6, 2010
Size downloadDownloads : 2
Program licensing
Thank you for voting...

The tool represents one of the more used patterns for ...

The tool represents one of the more used patterns for Python weakref objects.
Most important functions of PyDispatcher by Mike C. Fletcher:
• Provides a centralized service for delivering messages to registered objects (in the local process). It allows you to register any number of functions (callable objects) which can receive signals from senders. Registration can be for all senders, particular sending objects, or "anonymous" messages (messages where the sender is None). Registration can be for any signal, or particular signals
• a single signal will be delivered to all appropriate registered receiver, so that multiple registrations do not interfere with each other.
• There is no requirement for the sender or receiver to be dispatcher-aware. Any Python object save the None object can act as a sender, and any callable object can act as a receiver. There is no need to inherit from a particular class or provide a particular interface on the object.
• The system uses weak references to receivers wherever possible
• Object lifetimes are not affected by pydispatcher 2.0.1 registrations (that is, when your object goes away, the registrations related to the object also go away).
• References to common transient objects (in particular instance methods) are stored as compound weak references. Weak references can be disabled on a registration-by-registration basis
• allows rich signal types, signals are simply hashable objects used to store and retrieve sub-tables, they are otherwise opaque to the dispatcher mechanism.
• Allows sending more information when sending than any particular receiver can handle, dispatcher automatically culls those arguments which are not appropriate for the particular receiver. This allows registering very simple functions dealing with general messages, while still allowing natural passing of arguments to higher level functions.

PyDispatcher 2.0.1 scripting tags: programming utility, messages, functions, registered objects, receiver, pydispatcher, programming tool. What is new in PyDispatcher 2.0.1 software script? - Unable to find PyDispatcher 2.0.1 news. What is improvements are expecting? Newly-made PyDispatcher 2.1 will be downloaded from here. You may download directly. Please write the reviews of the PyDispatcher. License limitations are unspecified.