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

aio-libs / multidict / 39023890361
86%

Build:
DEFAULT BRANCH: master
Ran 17 Oct 2026 10:11AM 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

17 Oct 2026 10:10AM UTC coverage: 85.863%. Remained the same
39023890361

push

github

web-flow
Turn md_watch_record() and md_watch_record_simple() into macros (#1806)

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

## What do these changes do?

Turns `md_watch_record()` and `md_watch_record_simple()` in
`_multilib/watch.h` into macros. The macro evaluates `md` once and only
evaluates the event arguments when `md->watch` is set; none of the call
sites passes an argument with a side effect. C extension only; the
pure-Python backend has no equivalent helper.

Callgrind, 3.14.7 and 3.14.7t, `MultiDict` and `CIMultiDict` with
`--include-multidict-only` (124 cells). Every row stayed within 0.2%
except:

| Build | Row | Before Ir/op | After Ir/op | Change |
|---|---|---|---|---|
| GIL | MultiDict `popitem` | 477.4 | 472.6 | -1.01% |
| GIL | CIMultiDict `popitem` | 1094.9 | 1084.1 | -0.99% |
| FT | MultiDict `popitem` | 529.0 | 524.0 | -0.95% |
| FT | CIMultiDict `delitem` | 415.2 | 419.2 | +0.96% |

## Are there changes in behavior for the user?

No.

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

No.

## 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 watcher 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 Code (Claude Opus 5.5); reviewed by @asvetlov.

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

Tests: `pytest -q` passed on 3.11.13 GIL (4274 passed), 3.14.7 GIL (4270
passed) and 3.14.7t FT (4255 passed). The pure-Python leg was not rerun,
since only a C header changed.
Inlining: `tools/check_inlining.py` on 3.14.7 and 3.14.7t passed (13
rules). The `PyIter_NextItem` note it prints also shows on master.
Codegen: `tool... (continued)

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 - 39023890361.1 17 Oct 2026 10:11AM UTC 100
85.86
GitHub Action Run
Source Files on build 39023890361
  • 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 #39023890361
  • f5818e2c on github
  • Prev Build on master (#39023866258)
  • Next Build on master (#39026955173)
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