| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-07-23 | Refs #36500 -- Rewrapped long docstrings and block comments via a script. | django-bot | |
| Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505. | |||
| 2025-04-23 | Fixed #35801 -- Prevented collision of senders with non-overlapping lifetimes. | Simon Charette | |
| As documented, the id() function can return the same value for distinct objects with non-overlapping lifetimes which can result in signals being sent to the wrong receivers if two distinct senders happen to have a colliding id() value. Since reproduction of the issue requires memory constrained circumstances where the same exact id() is reused for two senders of the same signal the test opt to simulate the collision by systematically making the same id for Sender instances. Note that we explicitly avoid keeping a strong reference to senders that cannot be weakly referenced as that would unexpectedly prevent them from being garbage collected. This means that id(sender) collisions could still occur for such objects but Django itself doesn't make use of them. Thanks Sjoerd Job Postmus for the reduced test case and Mariusz for the review. Co-authored-by: And Clover <and@doxdesk.com> | |||
| 2023-12-06 | Refs #34986 -- Moved garbage_collect() helper to django.test.utils. | Nick Pope | |
| 2023-11-27 | Refs #34986 -- Added django.utils.version.PYPY. | Nick Pope | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-06-25 | Refs #32508 -- Raised ImproperlyConfigured/TypeError instead of using ↵ | Mateo Radman | |
| "assert" in various code. | |||
| 2020-12-15 | Fixed #32261 -- Added error logging to Signal.send_robust(). | Ayush Bansal | |
| 2020-03-05 | Fixed #31327 -- Deprecated providing_args argument for Signal. | Jon Dufresne | |
| 2019-12-19 | Refs #28954 -- Removed remaining Jython-specific code from dispatch tests. | Nick Pope | |
| Missed in 23b21db31bfcf2a065d485617412cca43a311a4c. | |||
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2016-11-22 | Completed django.dispatch test coverage. | Adam Chainz | |
| 2016-11-14 | Fixed E305 flake8 warnings. | Ramin Farajpour Cami | |
| 2015-04-27 | Used assertIsInstance in tests. | Alasdair Nicol | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-02 | Added return value to Signal.disconnect(). | Andriy Sokolovskiy | |
| 2015-01-02 | Renamed an assertion in the dispatch tests. | Tim Graham | |
| 2014-07-07 | Removed unnecessary directory in dispatch tests. | Tim Graham | |
