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

aio-libs / multidict / 34800370841
87%

Build:
DEFAULT BRANCH: master
Ran 14 Sep 2026 02:48AM UTC
Jobs 1
Files 34
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

14 Sep 2026 02:47AM UTC coverage: 85.981% (+0.1%) from 85.873%
34800370841

push

github

web-flow
Add free-threading race tests for the C extension (#1317)

## What do these changes do?

Adds two race tests for the C extension on free-threaded builds: one
iterates a multidict while other threads mutate it, the other extends
from a source that other threads are resizing.

#1431 through #1446 made these paths safe. Against the tree before that
series both tests segfault on every run; against current master they
pass. There is no other threaded test in the suite, so this is what
would turn a regression into a red free-threaded CI leg instead of
silence.

The C changes this PR originally carried are superseded by that series
and have been dropped.

## Are there changes in behavior for the user?

No.

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

No. One test file and a `contrib` fragment; the tests are
`c_extension`-marked and take about a quarter of a second.

## Related issue number

Follows #1431, #1433, #1438, #1441, #1445, #1446.

## Checklist

- [x] I think the code is well written
- [x] Unit tests for the changes exist
- [ ] 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

---------

Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

715 of 1430 branches covered (50.0%)

Branch coverage included in aggregate %.

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

5179 of 5425 relevant lines covered (95.47%)

1.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 MyPy - 34800370841.1 14 Sep 2026 02:48AM UTC 68
85.98
GitHub Action Run
Source Files on build 34800370841
  • Tree
  • List 34
  • 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 #34800370841
  • 0a7b3541 on github
  • Prev Build on master (#34789731967)
  • Next Build on master (#34813154583)
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