Django

Code

root/django/trunk/django/dispatch/license.txt

Revision 8223, 1.7 kB (checked in by jacob, 4 months ago)

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).

Line 
1 django.dispatch was originally forked from PyDispatcher.
2
3 PyDispatcher License:
4
5     Copyright (c) 2001-2003, Patrick K. O'Brien and Contributors
6     All rights reserved.
7    
8     Redistribution and use in source and binary forms, with or without
9     modification, are permitted provided that the following conditions
10     are met:
11    
12         Redistributions of source code must retain the above copyright
13         notice, this list of conditions and the following disclaimer.
14    
15         Redistributions in binary form must reproduce the above
16         copyright notice, this list of conditions and the following
17         disclaimer in the documentation and/or other materials
18         provided with the distribution.
19    
20         The name of Patrick K. O'Brien, or the name of any Contributor,
21         may not be used to endorse or promote products derived from this
22         software without specific prior written permission.
23    
24     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
25     ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
26     LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
27     FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
28     COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
29     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
30     (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
31     SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
32     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
33     STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
34     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
35     OF THE POSSIBILITY OF SUCH DAMAGE.
Note: See TracBrowser for help on using the browser.