Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Moved and updated Python license. | Tim Graham | 2015-09-28 | 2 | -256/+1 |
| | |||||
* | Fixed #25331 -- Removed trailing blank lines in docstrings. | Maxime Lorant | 2015-08-31 | 1 | -1/+0 |
| | |||||
* | Renamed RemovedInDjangoXYWarnings for new roadmap. | Tim Graham | 2015-06-24 | 1 | -2/+2 |
| | | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more. | ||||
* | Removed support for Python 3.3. | Tim Graham | 2015-06-18 | 1 | -2/+3 |
| | |||||
* | Fixed #24979 -- Removed usage of inspect.getargspec(). | Tim Graham | 2015-06-15 | 1 | -15/+3 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 1 | -1/+0 |
| | |||||
* | Fixed #24205 -- Deprecated Signal.disconnect weak parameter. | Florian Apolloner | 2015-01-23 | 1 | -4/+6 |
| | |||||
* | Clarified docstring in dispatch/dispatcher.py | Tim Graham | 2015-01-23 | 1 | -3/+3 |
| | |||||
* | Added return value to Signal.disconnect(). | Andriy Sokolovskiy | 2015-01-02 | 1 | -0/+3 |
| | |||||
* | Fixed #23812 -- Changed django.utils.six.moves.xrange ↵ | Michael Hall | 2014-12-13 | 1 | -2/+2 |
| | | | | imports to range | ||||
* | Fixed typo in django/dispatch/dispatcher.py docstring. | jerry dumblauskas | 2014-12-02 | 1 | -1/+1 |
| | |||||
* | Fixed #16245 -- Included traceback in send_robust()'s ↵ | Unai Zalakain | 2014-05-17 | 1 | -1/+4 |
| | | | | | | | | response Exceptions from the (receiver, exception) tuples returned by ``send_robust()`` now have always their traceback attached as their ``__traceback__`` argument. | ||||
* | Fixed many typos in comments and docstrings. | Rodolfo Carvalho | 2014-03-03 | 1 | -1/+1 |
| | | | | Thanks Piotr Kasprzyk for help with the patch. | ||||
* | Simplified signal code. | Florian Apolloner | 2014-02-05 | 1 | -12/+9 |
| | | | | Refs #21952 | ||||
* | Fixed #21952 -- signals deadlock due to locking + ↵ | Anssi Kääriäinen | 2014-02-05 | 1 | -14/+23 |
| | | | | weakref interaction | ||||
* | Fixed flake8 issues. | Simon Charette | 2014-01-12 | 1 | -1/+1 |
| | |||||
* | Added license info for the weakref backports | Florian Apolloner | 2014-01-12 | 2 | -1/+262 |
| | |||||
* | Fixed removal of signal receivers in Python 3.4 | Florian Apolloner | 2014-01-09 | 3 | -288/+98 |
| | | | | | | | | | Make use of `weakref.finalize` and `weakref.WeakMethod` on python 3.4. Simplified the removal of receivers, the old function looked overly complicated. Many thanks go to Antoine Pitrou for helping me to debug and explain all the failures I ran into while writing that patch. | ||||
* | Fixed E127 pep8 warnings. | Loic Bistuer | 2013-12-14 | 1 | -1/+1 |
| | |||||
* | Fixed #21486 -- Prevented settings config in signal ↵ | Claude Paroz | 2013-11-23 | 1 | -1/+1 |
| | | | | | | | | connection This was particularly problematic in the chain get_wsgi_application -> db.connections import -> signal connection -> settings configuration. Thanks Jon Dufresne for the report. | ||||
* | Use `classmethod` as a decorator. | xuxiang | 2013-11-20 | 1 | -1/+1 |
| | |||||
* | Fixed flake8 E251 violations | Milton Mazzarri | 2013-11-03 | 1 | -1/+1 |
| | |||||
* | More attacking E302 violators | Alex Gaynor | 2013-11-02 | 1 | -0/+4 |
| | |||||
* | Fixed #21302 -- Fixed unused imports and import *. | Tim Graham | 2013-11-02 | 1 | -1/+1 |
| | |||||
* | Fixed up some more flake8 violations (this particular ↵ | Alex Gaynor | 2013-10-26 | 1 | -2/+2 |
| | | | | violation still has many occurrences in the tests/ dir so it can't be removed from setup.cfg yet) | ||||
* | Start attacking E231 violations | Alex Gaynor | 2013-10-24 | 1 | -1/+1 |
| | |||||
* | Fixed E225 pep8 warnings. | Tim Graham | 2013-10-23 | 1 | -1/+1 |
| | |||||
* | Fixed #21266 -- Fixed E201,E202 pep8 warnings. | Larry O'Neill | 2013-10-15 | 1 | -12/+12 |
| | |||||
* | Fixed assorted flake8 errors. | Tim Graham | 2013-10-11 | 1 | -2/+2 |
| | |||||
* | Whitespace cleanup. | Tim Graham | 2013-10-10 | 1 | -1/+1 |
| | | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs. | ||||
* | Fixed #20943 -- Weakly reference senders when caching ↵ | Simon Charette | 2013-08-20 | 1 | -4/+8 |
| | | | | their associated receivers | ||||
* | Fixed #19634 -- Added proper __hash__ methods. | Aymeric Augustin | 2013-02-25 | 1 | -1/+2 |
| | | | | | | | Classes overriding __eq__ need a __hash__ such that equal objects have the same hash. Thanks akaariai for the report and regebro for the patch. | ||||
* | Fixed #16679 -- Use caching to speed up signal sending | Anssi Kääriäinen | 2012-12-16 | 1 | -22/+51 |
| | |||||
* | Fixed #18963 -- Used a subclass-friendly pattern | Aymeric Augustin | 2012-11-03 | 1 | -7/+9 |
| | | | | for Python 2 object model compatibility methods. | ||||
* | Added a way to check if a signal has listeners | Anssi Kääriäinen | 2012-09-28 | 1 | -0/+3 |
| | |||||
* | [py3] Fixed dispatch tests | Claude Paroz | 2012-08-15 | 1 | -2/+4 |
| | |||||
* | [py3] Replaced __nonzero__ by __bool__ | Claude Paroz | 2012-08-08 | 1 | -1/+2 |
| | | | | Of course, __nonzero__ alias has been kept for Python 2 compatibility. | ||||
* | [py3] Added Python 3 compatibility for xrange. | Aymeric Augustin | 2012-07-22 | 1 | -19/+20 |
| | |||||
* | Switch to using context managers for acquiring and ↵ | Alex Gaynor | 2012-06-23 | 1 | -13/+4 |
| | | | | releasing locks. | ||||
* | Don't use a list comprehension when we don't need the ↵ | Alex Gaynor | 2012-06-23 | 1 | -1/+2 |
| | | | | resulting list. | ||||
* | Fixed #18454 -- Added ability to pass a list of signals ↵ | Dmitry Medvinsky | 2012-06-23 | 1 | -2/+9 |
| | | | | | | | | | | to `receiver`. Added ability to use receiver decorator in the following way: @receiver([post_save, post_delete], sender=MyModel) def signals_receiver(sender, **kwargs): ... | ||||
* | Got rid of old __cmp__methods replaced by rich comparison. | Claude Paroz | 2012-05-18 | 1 | -5/+5 |
| | | | | | | The __cmp__ methods are unsupported in Python 3. _doctest.py has been left untouched because it is likely it will not be migrated to Python 3. | ||||
* | Replaced im_func and im_self by __func__ and __self__. | Claude Paroz | 2012-05-12 | 2 | -16/+16 |
| | | | | The new names are Python 3 compatible. | ||||
* | Replaced print statement by print function (forward ↵ | Claude Paroz | 2012-04-30 | 1 | -3/+3 |
| | | | | compatibility syntax). | ||||
* | Fixed #18013 -- Use the new 'as' syntax for exceptions. | Claude Paroz | 2012-04-29 | 2 | -3/+3 |
| | | | | | Thanks Clueless for the initial patch. Note that unittest has been purposely left out (external package only used by Python 2.6). | ||||
* | Fixed #16225 -- Removed unused imports. Many thanks to ↵ | Jannis Leidel | 2011-07-13 | 1 | -1/+2 |
| | | | | | | Aymeric Augustin for the work on the patch and Alex for reviewing. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16539 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | ||||
* | Removed a bunch more Python 2.4 workarounds now that we ↵ | Adrian Holovaty | 2011-03-28 | 1 | -1/+1 |
| | | | | | | don't support that version. Refs #15702 -- thanks to jonash for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15927 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | ||||
* | Preventing problems possibly introduced by r14662 | Honza Král | 2010-11-21 | 1 | -3/+3 |
| | | | | | | | acquire a lock before entering a try block that ends with the lock's release. Thanks for the catch Alex. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14668 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | ||||
* | Fixed #14533 -- Make django signals more thread-safe. ↵ | Honza Král | 2010-11-21 | 1 | -18/+35 |
| | | | | | | Thanks milosu for the patch! git-svn-id: http://code.djangoproject.com/svn/django/trunk@14662 bcc190cf-cafb-0310-a4f2-bffc1f526a37 | ||||
* | Fixed #14559 -- corrected some typos and misleading ↵ | Alex Gaynor | 2010-11-02 | 1 | -5/+5 |
| | | | | | | docstrings. Thanks to Gabriel Hurley for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14441 bcc190cf-cafb-0310-a4f2-bffc1f526a37 |