1. German Larrain
  2. ars
Issue #22 new

Replace ars.lib.pydispatch with Django's django.dispatch

German Larrain
repo owner created an issue

As django.dispatch.__init__.py says

"""Multi-consumer multi-producer dispatching mechanism

Originally based on pydispatch (BSD) http://pypi.python.org/pypi/PyDispatcher/2.0.1 See license.txt for original license.

Heavily modified for Django's purposes. """

I think it is a much better option because it provides a Signal class that allows to define a signal better (currently they are just strings! collisions are possible), specifying the handler's interface (i.e. arguments). It seems to have been performance upgraded, and have cleaner code.

Comments (0)

  1. Log in to comment