Skip to content

[pull] master from aio-libs:master - #771

Merged
pull[bot] merged 1 commit into
tj-python:masterfrom
aio-libs:master
Sep 22, 2026
Merged

pull[bot] merged 1 commit into
tj-python:masterfrom
aio-libs:master

Conversation

@pull

@pull pull Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Bumps [multidict](https://github.com/aio-libs/multidict) from 6.8.0 to
6.9.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/aio-libs/multidict/releases">multidict's
releases</a>.</em></p>
<blockquote>
<h2>6.9.0</h2>
<h2>Bug fixes</h2>
<ul>
<li>
<p>Protected <code>repr()</code> of <code>MultiDict</code>,
<code>MultiDictProxy</code>, and their views
in the C extension with a critical section, avoiding data races on the
free-threaded build of CPython -- by :user:<code>asvetlov</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em>
<a
href="https://redirect.github.com/aio-libs/multidict/issues/1431">#1431</a>.</p>
</li>
<li>
<p>Guarded <code>repr()</code> of <code>MultiDictProxy</code> in the C
extension and of
<code>KeysView</code> in both the C extension and the pure-Python
implementation against infinite recursion on self-referential
containers, matching the existing guard on <code>MultiDict</code>,
<code>ItemsView</code>, and <code>ValuesView</code> -- by
:user:<code>asvetlov</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em>
<a
href="https://redirect.github.com/aio-libs/multidict/issues/1431">#1431</a>.</p>
</li>
<li>
<p>Protected <code>MultiDict.update()</code>, <code>.extend()</code>,
<code>.merge()</code>, <code>.clear()</code>,
<code>.copy()</code>, and the
<code>MultiDict</code>/<code>CIMultiDict</code> constructors in the C
extension with a critical section, using the two-object form when a
second multidict, multidict proxy, or plain <code>dict</code> instance
is
involved, avoiding data races and a segmentation fault on the
free-threaded build of CPython. <code>.clear()</code> now also publishes
the
empty table before releasing any entry's references, so a concurrent
caller can never observe a partially-cleared multidict even if releasing
a value runs arbitrary Python code that suspends the held critical
section -- by :user:<code>asvetlov</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em>
<a
href="https://redirect.github.com/aio-libs/multidict/issues/1433">#1433</a>.</p>
</li>
<li>
<p>Protected <code>MultiDict.add()</code>,
<code>__setitem__</code>/<code>__delitem__</code>,
<code>get()</code>/<code>getone()</code>/<code>__getitem__</code>,
<code>__contains__</code>, <code>getall()</code>,
<code>setdefault()</code>,
<code>pop()</code>/<code>popone()</code>/<code>popall()</code>/<code>popitem()</code>,
<code>__eq__</code>, iteration, and the
<code>&amp;</code>/<code>|</code>/<code>-</code>/<code>^</code>/<code>in</code>/
<code>isdisjoint()</code> operations on <code>.keys()</code> and
<code>.items()</code> views in the
C extension with a critical section, avoiding data races and
use-after-free crashes on the free-threaded build of CPython
-- by :user:<code>asvetlov</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em>
<a
href="https://redirect.github.com/aio-libs/multidict/issues/1438">#1438</a>.</p>
</li>
<li>
<p>Fixed a data race on the free-threaded build where
<code>MultiDictObject.used</code>
was written non-atomically while <code>len()</code> read it with a
relaxed atomic
load -- by :user:<code>asvetlov</code>.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/aio-libs/multidict/blob/master/CHANGES.rst">multidict's
changelog</a>.</em></p>
<blockquote>
<h1>6.9.0</h1>
<p><em>(2026-09-18)</em></p>
<h2>Bug fixes</h2>
<ul>
<li>
<p>Protected <code>repr()</code> of <code>MultiDict</code>,
<code>MultiDictProxy</code>, and their views
in the C extension with a critical section, avoiding data races on the
free-threaded build of CPython -- by :user:<code>asvetlov</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em>
:issue:<code>1431</code>.</p>
</li>
<li>
<p>Guarded <code>repr()</code> of <code>MultiDictProxy</code> in the C
extension and of
<code>KeysView</code> in both the C extension and the pure-Python
implementation against infinite recursion on self-referential
containers, matching the existing guard on <code>MultiDict</code>,
<code>ItemsView</code>, and <code>ValuesView</code> -- by
:user:<code>asvetlov</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em>
:issue:<code>1431</code>.</p>
</li>
<li>
<p>Protected <code>MultiDict.update()</code>, <code>.extend()</code>,
<code>.merge()</code>, <code>.clear()</code>,
<code>.copy()</code>, and the
<code>MultiDict</code>/<code>CIMultiDict</code> constructors in the C
extension with a critical section, using the two-object form when a
second multidict, multidict proxy, or plain <code>dict</code> instance
is
involved, avoiding data races and a segmentation fault on the
free-threaded build of CPython. <code>.clear()</code> now also publishes
the
empty table before releasing any entry's references, so a concurrent
caller can never observe a partially-cleared multidict even if releasing
a value runs arbitrary Python code that suspends the held critical
section -- by :user:<code>asvetlov</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em>
:issue:<code>1433</code>.</p>
</li>
<li>
<p>Protected <code>MultiDict.add()</code>,
<code>__setitem__</code>/<code>__delitem__</code>,
<code>get()</code>/<code>getone()</code>/<code>__getitem__</code>,
<code>__contains__</code>, <code>getall()</code>,
<code>setdefault()</code>,
<code>pop()</code>/<code>popone()</code>/<code>popall()</code>/<code>popitem()</code>,
<code>__eq__</code>, iteration, and the
<code>&amp;</code>/<code>|</code>/<code>-</code>/<code>^</code>/<code>in</code>/
<code>isdisjoint()</code> operations on <code>.keys()</code> and
<code>.items()</code> views in the
C extension with a critical section, avoiding data races and
use-after-free crashes on the free-threaded build of CPython
-- by :user:<code>asvetlov</code>.</p>
<p><em>Related issues and pull requests on GitHub:</em>
:issue:<code>1438</code>.</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/aio-libs/multidict/commit/087fbed9c99cbbca05b297a698f970f14410f1e4"><code>087fbed</code></a>
Update CHANGE for the release fix PR (<a
href="https://redirect.github.com/aio-libs/multidict/issues/1476">#1476</a>)</li>
<li><a
href="https://github.com/aio-libs/multidict/commit/c715fac0089a8e88b99ad3ef5d9a0dcfb54607c9"><code>c715fac</code></a>
Stop installing hypothesis where its tests never run (<a
href="https://redirect.github.com/aio-libs/multidict/issues/1475">#1475</a>)</li>
<li><a
href="https://github.com/aio-libs/multidict/commit/e1ddc397129408b218d65358456160fdcd1879fc"><code>e1ddc39</code></a>
Release 6.9.0 (<a
href="https://redirect.github.com/aio-libs/multidict/issues/1474">#1474</a>)</li>
<li><a
href="https://github.com/aio-libs/multidict/commit/a9aa23991c9f59e9fa5f7a577a48830ed918aba4"><code>a9aa239</code></a>
Speed up adding many values for the same key (<a
href="https://redirect.github.com/aio-libs/multidict/issues/1466">#1466</a>)</li>
<li><a
href="https://github.com/aio-libs/multidict/commit/684b0859d2bc97f4a44ae3b6a34a3176fea3c9d5"><code>684b085</code></a>
Disable pytest output capturing in the ASan/TSan CI jobs (<a
href="https://redirect.github.com/aio-libs/multidict/issues/1472">#1472</a>)</li>
<li><a
href="https://github.com/aio-libs/multidict/commit/255ad036e401f6316b422b3c688aea4f931e529b"><code>255ad03</code></a>
Add bencmarks for <strong>setitem</strong> (<a
href="https://redirect.github.com/aio-libs/multidict/issues/1471">#1471</a>)</li>
<li><a
href="https://github.com/aio-libs/multidict/commit/72eadccbf9a26ffb2672548fd60ab024c66ec80f"><code>72eadcc</code></a>
Skip abstractmethods from coverage leaks report (<a
href="https://redirect.github.com/aio-libs/multidict/issues/1470">#1470</a>)</li>
<li><a
href="https://github.com/aio-libs/multidict/commit/445f9f9a492a09eebaa40997080ba09d6ea82263"><code>445f9f9</code></a>
Drop dead code (<a
href="https://redirect.github.com/aio-libs/multidict/issues/1469">#1469</a>)</li>
<li><a
href="https://github.com/aio-libs/multidict/commit/f4218f859a3287651b505717ce05552df2902e94"><code>f4218f8</code></a>
Build(deps): Bump actions/upload-artifact from 4 to 7 (<a
href="https://redirect.github.com/aio-libs/multidict/issues/1468">#1468</a>)</li>
<li><a
href="https://github.com/aio-libs/multidict/commit/838ebf7ba71a79c33407136c4a2be8bf25c17d42"><code>838ebf7</code></a>
Bump to 6.9.0.dev0 (<a
href="https://redirect.github.com/aio-libs/multidict/issues/1467">#1467</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/aio-libs/multidict/compare/v6.8.0...v6.9.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=multidict&package-manager=pip&previous-version=6.8.0&new-version=6.9.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Sep 22, 2026
@pull pull Bot added the ⤵️ pull label Sep 22, 2026
@pull
pull Bot merged commit f6679a3 into tj-python:master Sep 22, 2026
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants