Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/dispatch
Commit message (Collapse)AuthorAgeFilesLines
* Moved and updated Python license.Tim Graham2015-09-282-256/+1
|
* Fixed #25331 -- Removed trailing blank lines in docstrings.Maxime Lorant2015-08-311-1/+0
|
* Renamed RemovedInDjangoXYWarnings for new roadmap.Tim Graham2015-06-241-2/+2
| | | | | Forwardport of ae1d663b7913f6da233c55409c4973248372d302 from stable/1.8.x plus more.
* Removed support for Python 3.3.Tim Graham2015-06-181-2/+3
|
* Fixed #24979 -- Removed usage of inspect.getargspec().Tim Graham2015-06-151-15/+3
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-1/+0
|
* Fixed #24205 -- Deprecated Signal.disconnect weak parameter.Florian Apolloner2015-01-231-4/+6
|
* Clarified docstring in dispatch/dispatcher.pyTim Graham2015-01-231-3/+3
|
* Added return value to Signal.disconnect().Andriy Sokolovskiy2015-01-021-0/+3
|
* Fixed #23812 -- Changed django.utils.six.moves.xrange ↵Michael Hall2014-12-131-2/+2
| | | | imports to range
* Fixed typo in django/dispatch/dispatcher.py docstring.jerry dumblauskas2014-12-021-1/+1
|
* Fixed #16245 -- Included traceback in send_robust()'s ↵Unai Zalakain2014-05-171-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 Carvalho2014-03-031-1/+1
| | | | Thanks Piotr Kasprzyk for help with the patch.
* Simplified signal code.Florian Apolloner2014-02-051-12/+9
| | | | Refs #21952
* Fixed #21952 -- signals deadlock due to locking + ↵Anssi Kääriäinen2014-02-051-14/+23
| | | | weakref interaction
* Fixed flake8 issues.Simon Charette2014-01-121-1/+1
|
* Added license info for the weakref backportsFlorian Apolloner2014-01-122-1/+262
|
* Fixed removal of signal receivers in Python 3.4Florian Apolloner2014-01-093-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 Bistuer2013-12-141-1/+1
|
* Fixed #21486 -- Prevented settings config in signal ↵Claude Paroz2013-11-231-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.xuxiang2013-11-201-1/+1
|
* Fixed flake8 E251 violationsMilton Mazzarri2013-11-031-1/+1
|
* More attacking E302 violatorsAlex Gaynor2013-11-021-0/+4
|
* Fixed #21302 -- Fixed unused imports and import *.Tim Graham2013-11-021-1/+1
|
* Fixed up some more flake8 violations (this particular ↵Alex Gaynor2013-10-261-2/+2
| | | | violation still has many occurrences in the tests/ dir so it can't be removed from setup.cfg yet)
* Start attacking E231 violationsAlex Gaynor2013-10-241-1/+1
|
* Fixed E225 pep8 warnings.Tim Graham2013-10-231-1/+1
|
* Fixed #21266 -- Fixed E201,E202 pep8 warnings.Larry O'Neill2013-10-151-12/+12
|
* Fixed assorted flake8 errors.Tim Graham2013-10-111-2/+2
|
* Whitespace cleanup.Tim Graham2013-10-101-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 Charette2013-08-201-4/+8
| | | | their associated receivers
* Fixed #19634 -- Added proper __hash__ methods.Aymeric Augustin2013-02-251-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 sendingAnssi Kääriäinen2012-12-161-22/+51
|
* Fixed #18963 -- Used a subclass-friendly patternAymeric Augustin2012-11-031-7/+9
| | | | for Python 2 object model compatibility methods.
* Added a way to check if a signal has listenersAnssi Kääriäinen2012-09-281-0/+3
|
* [py3] Fixed dispatch testsClaude Paroz2012-08-151-2/+4
|
* [py3] Replaced __nonzero__ by __bool__Claude Paroz2012-08-081-1/+2
| | | | Of course, __nonzero__ alias has been kept for Python 2 compatibility.
* [py3] Added Python 3 compatibility for xrange.Aymeric Augustin2012-07-221-19/+20
|
* Switch to using context managers for acquiring and ↵Alex Gaynor2012-06-231-13/+4
| | | | releasing locks.
* Don't use a list comprehension when we don't need the ↵Alex Gaynor2012-06-231-1/+2
| | | | resulting list.
* Fixed #18454 -- Added ability to pass a list of signals ↵Dmitry Medvinsky2012-06-231-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 Paroz2012-05-181-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 Paroz2012-05-122-16/+16
| | | | The new names are Python 3 compatible.
* Replaced print statement by print function (forward ↵Claude Paroz2012-04-301-3/+3
| | | | compatibility syntax).
* Fixed #18013 -- Use the new 'as' syntax for exceptions.Claude Paroz2012-04-292-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 Leidel2011-07-131-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 Holovaty2011-03-281-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 r14662Honza Král2010-11-211-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ál2010-11-211-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 Gaynor2010-11-021-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