• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aio-libs / multidict / 39009643285
86%

Build:
DEFAULT BRANCH: master
Ran 17 Oct 2026 06:23AM UTC
Jobs 1
Files 50
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Oct 2026 12:48PM UTC coverage: 85.863%. Remained the same
39009643285

push

github

web-flow
Let _md_update()'s loops pick between claiming and dooming an entry (#1804)

<!-- Thank you for your contribution! -->

## What do these changes do?

`_md_update_mark()` took `_md_update()`'s `found` flag by pointer only
to branch on it: dooming every entry after the first one the batch had
not written yet, and claiming that first one. Each of the three per-kind
loops already knows which branch runs, so they now test `found`
themselves and call `update_marks_doom()` or the smaller
`_md_update_claim()`, which only sets the `updated` bit and clears
`deleted`. The tri-state return and the pointer argument are gone.

C-only refactor; `_multidict_py.py` has no counterpart.

## Are there changes in behavior for the user?

No.

## Is it a substantial burden for the maintainers to support this?

No; it removes an indirection.

## Related issue number

N/A

## Checklist

- [x] I think the code is well written
- [ ] Unit tests for the changes exist: N/A, no behaviour change;
covered by the existing update() tests
- [ ] Documentation reflects the changes: N/A
- [ ] If you provide code modification, please add yourself to
`CONTRIBUTORS.txt`: N/A
- [x] Add a new news fragment into the `CHANGES/` folder
- [x] `make doc-spelling` passes and any new technical words are added
to `docs/spelling_wordlist.txt`

Drafted with Claude Opus 5.5; pending review by @asvetlov.

<details>
<summary>Agent run details (optional, for reviewers)</summary>

Tests (before merging master, C extension, Python 3.11.13): `pytest -q`,
4274 passed, 180 skipped. Pure-Python leg and a rerun on the merged tree
still pending.

`tools/check_inlining.py` on 3.14.7 and 3.14.7t: ok, 13 rules; the
`PyIter_NextItem` note appears on the base too.

Callgrind (3.14.7 GIL, base dc809d83 vs the change before the master
merge): every row identical except `update` on MultiDict, 35068.0 to
35168.0 Ir/op (+0.29%). FT pair and a remeasure against f7b22378 (#1802)
still pending.
</details>

842 of 1684 branches covered (50.0%)

Branch coverage included in aggregate %.

9799 of 10709 relevant lines covered (91.5%)

1.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 MyPy - 39009643285.1 17 Oct 2026 06:23AM UTC 100
85.86
GitHub Action Run
Source Files on build 39009643285
  • Tree
  • List 50
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #39009643285
  • 0b87c52b on github
  • Prev Build on master (#38887714464)
  • Next Build on master (#39023866258)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc