<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/dispatch, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2026-03-17T21:08:18Z</updated>
<entry>
<title>Fixed #36939 -- Avoided weakref.finalize in Signal.connect().</title>
<updated>2026-03-17T21:08:18Z</updated>
<author>
<name>Juho Hautala</name>
<email>juho.hautala@iki.fi</email>
</author>
<published>2026-02-23T03:16:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=ba4751e0ca558dd8f0d9e6153bec4280289ca2f4'/>
<id>urn:sha1:ba4751e0ca558dd8f0d9e6153bec4280289ca2f4</id>
<content type='text'>
Replaced weak receiver registration in Signal.connect() to pass
_flag_dead_receivers directly as the callback for weakref.ref() and
weakref.WeakMethod() instead of creating weakref.finalize() objects.

This prevented finalizer accumulation in repeated weak
connect()/disconnect() cycles where receivers remain alive.
</content>
</entry>
<entry>
<title>Refs #34118 -- Removed asgiref coroutine detection shims.</title>
<updated>2026-01-31T13:59:54Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2026-01-30T20:53:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=4a52533329a03207c1c4592a13fbb12b9ec5ef9e'/>
<id>urn:sha1:4a52533329a03207c1c4592a13fbb12b9ec5ef9e</id>
<content type='text'>
As Python 3.12 is now the floor, we can drop the shims and
use the `inspect` module.
</content>
</entry>
<entry>
<title>Fixed #36714 -- Fixed context sharing among async signal handlers.</title>
<updated>2025-12-29T14:48:11Z</updated>
<author>
<name>Arfey</name>
<email>Arfey17.mg@gmail.com</email>
</author>
<published>2025-11-09T23:10:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=cc0f6c4f74cc278fdab79b269401127f2d869334'/>
<id>urn:sha1:cc0f6c4f74cc278fdab79b269401127f2d869334</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #36315 -- Used TaskGroup instead of asyncio.gather().</title>
<updated>2025-11-07T18:17:25Z</updated>
<author>
<name>Thomas Grainger</name>
<email>tagrain@gmail.com</email>
</author>
<published>2025-04-10T08:43:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=27687475265f88bc0a0bcbfe2ba26da306bbfc20'/>
<id>urn:sha1:27687475265f88bc0a0bcbfe2ba26da306bbfc20</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #36500 -- Corrected rewrapped long lines fixed via a script.</title>
<updated>2025-07-23T23:17:55Z</updated>
<author>
<name>Mike Edmunds</name>
<email>medmunds@gmail.com</email>
</author>
<published>2025-07-23T03:44:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=78298b51629e14c0e472898b635bc819d47b7f27'/>
<id>urn:sha1:78298b51629e14c0e472898b635bc819d47b7f27</id>
<content type='text'>
Manually reformatted some comments and docstrings where autofix_w505.py
changed the meaning of the formatting.
</content>
</entry>
<entry>
<title>Refs #36500 -- Rewrapped long docstrings and block comments via a script.</title>
<updated>2025-07-23T23:17:55Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2025-07-23T03:41:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=69a93a88edb56ba47f624dac7a21aacc47ea474f'/>
<id>urn:sha1:69a93a88edb56ba47f624dac7a21aacc47ea474f</id>
<content type='text'>
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
</content>
</entry>
<entry>
<title>Fixed #35801 -- Prevented collision of senders with non-overlapping lifetimes.</title>
<updated>2025-04-23T12:09:46Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2025-01-23T05:55:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=760121dcb1837fdee6ac7f4e2412c0d539fbff7a'/>
<id>urn:sha1:760121dcb1837fdee6ac7f4e2412c0d539fbff7a</id>
<content type='text'>
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 &lt;and@doxdesk.com&gt;
</content>
</entry>
<entry>
<title>Fixed #35174 -- Fixed Signal.asend()/asend_robust() crash when all receivers are asynchronous.</title>
<updated>2024-02-08T10:36:28Z</updated>
<author>
<name>Vašek Dohnal</name>
<email>vaclav.dohnal@gmail.com</email>
</author>
<published>2024-02-08T08:21:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=1b5338d03ecc962af8ab4678426bc60b0672b8dd'/>
<id>urn:sha1:1b5338d03ecc962af8ab4678426bc60b0672b8dd</id>
<content type='text'>
Regression in e83a88566a71a2353cebc35992c110be0f8628af.
</content>
</entry>
<entry>
<title>Fixed #32172 -- Adapted signals to allow async handlers.</title>
<updated>2023-03-07T07:39:25Z</updated>
<author>
<name>Jon Janzen</name>
<email>jon@jonjanzen.com</email>
</author>
<published>2020-11-07T10:19:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=e83a88566a71a2353cebc35992c110be0f8628af'/>
<id>urn:sha1:e83a88566a71a2353cebc35992c110be0f8628af</id>
<content type='text'>
co-authored-by: kozzztik &lt;kozzztik@mail.ru&gt;
co-authored-by: Carlton Gibson &lt;carlton.gibson@noumenal.es&gt;
</content>
</entry>
<entry>
<title>Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-07T19:37:05Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-03T19:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9c19aff7c7561e3a82978a272ecdaad40dda5c00'/>
<id>urn:sha1:9c19aff7c7561e3a82978a272ecdaad40dda5c00</id>
<content type='text'>
</content>
</entry>
</feed>
