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

aio-libs / multidict / 36182074040
87%

Build:
DEFAULT BRANCH: master
Ran 25 Sep 2026 07:50PM UTC
Jobs 1
Files 43
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

25 Sep 2026 07:50PM UTC coverage: 87.089%. Remained the same
36182074040

push

github

web-flow
Drop redundant checks from the constructors and getall() (#1590)

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

## What do these changes do?

Removes three bits of dead or redundant code. In
`_multidict_vectorcall_impl()` an `if (arg != NULL)` sat inside a branch
that already required `arg != NULL`. `_multidict_extend_parse_args()`
passed a trailing `NULL` to `PyErr_Format()` that the format string
never consumes. The pure Python `getall()` tested `not res` after an
early return had already guaranteed it.

## Are there changes in behavior for the user?

No.

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

No, it only deletes code.

## Related issue number

N/A

## Checklist

- [x] I think the code is well written
- [x] Unit tests for the changes exist (no behavior change; the existing
suite covers these paths)
- [x] Documentation reflects the changes (N/A, internal only)
- [ ] 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); pending review by @asvetlov
before leaving draft.

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

Tests: `pytest -q` on 3.14.7 (C, 2756 passed), 3.10.17 (C, 2756 passed),
3.14.7t with `MULTIDICT_DEBUG_BUILD=1` (2732 passed); pure Python leg
with `MULTIDICT_NO_EXTENSIONS=1 ... --no-c-extensions` (1296 passed).
Lint: pre-commit (clang-format, ruff, mypy) and `make doc-spelling`
pass.
Wall clock: interleaved pyperf A/B, 6 alternating rounds x 2 processes,
GIL on cpu 1 and free-threaded on cpu 3. An A/A control of base against
itself showed single rows moving up to 7% (GIL) and 4% (free-threaded)
with geometric mean within 1%, so only the geometric mean and callgrind
are meaningful here.

Callgrind (`benchmarks/callgrind_driver.py`, both builds): 0 of 52 row... (continued)

780 of 1560 branches covered (50.0%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

8164 of 8710 relevant lines covered (93.73%)

1.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 MyPy - 36182074040.1 25 Sep 2026 07:50PM UTC 86
87.09
GitHub Action Run
Source Files on build 36182074040
  • Tree
  • List 43
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #36182074040
  • 34e0fd16 on github
  • Prev Build on master (#36162962679)
  • Next Build on master (#36182132373)
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