From 34a3bd52255a2253696b74b2d76133aace839fd2 Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Wed, 6 Aug 2008 15:32:46 +0000 Subject: Major refactoring of django.dispatch with an eye towards speed. The net result is that signals are up to 90% faster. Though some attempts and backwards-compatibility were made, speed trumped compatibility. Thus, as usual, check BackwardsIncompatibleChanges for the complete list of backwards-incompatible changes. Thanks to Jeremy Dunck and Keith Busell for the bulk of the work; some ideas from Brian Herring's previous work (refs #4561) were incorporated. Documentation is, sigh, still forthcoming. Fixes #6814 and #3951 (with the new dispatch_uid argument to connect). git-svn-id: http://code.djangoproject.com/svn/django/trunk@8223 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/dispatch/errors.py | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 django/dispatch/errors.py (limited to 'django/dispatch/errors.py') diff --git a/django/dispatch/errors.py b/django/dispatch/errors.py deleted file mode 100644 index a4c924dbe9..0000000000 --- a/django/dispatch/errors.py +++ /dev/null @@ -1,10 +0,0 @@ -"""Error types for dispatcher mechanism -""" - -class DispatcherError(Exception): - """Base class for all Dispatcher errors""" -class DispatcherKeyError(KeyError, DispatcherError): - """Error raised when unknown (sender,signal) set specified""" -class DispatcherTypeError(TypeError, DispatcherError): - """Error raised when inappropriate signal-type specified (None)""" - -- cgit v1.3