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

aio-libs / multidict / 33988650647
87%

Build:
DEFAULT BRANCH: master
Ran 05 Sep 2026 07:58PM UTC
Jobs 1
Files 31
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

05 Sep 2026 07:57PM UTC coverage: 85.345% (-0.02%) from 85.368%
33988650647

push

github

web-flow
Fix heap type reference leak (#1415)

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

## What do these changes do?

Fixed C-extension multidict and proxy deallocators to release the
heap-type reference owned by each instance. Added regression coverage
for dictionary and proxy type reference counts.

## Are there changes in behavior for the user?

No API behavior changed. Repeated construction and destruction of these
C-extension objects no longer retains type references.

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

No. The cleanup follows the existing deallocation pattern used by
multidict views and iterators.

## Related issue number

N/A

## Checklist

- [x] I think the code is well written
- [x] Unit tests for the changes exist
- [x] Documentation reflects the changes
- [ ] If you provide code modification, please add yourself to
`CONTRIBUTORS.txt` N/A, this repository does not contain this file
- [x] Add a new news fragment into the `CHANGES/` folder

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

Tests: `python -m pytest -q` passed with the C extension, 1661 tests
passed.

Tests: `python -m pytest -q --no-c-extensions` passed with the
pure-Python implementation, 850 tests passed.

Lint: targeted pre-commit hooks passed.

Docs: `make doc-spelling` is blocked by five pre-existing misspellings
in generated `CHANGES.rst`; this fragment introduced none.
</details>

Drafted with GitHub Copilot App 1.0.83-5; reviewed by Andrew Svetlov.

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

627 of 1254 branches covered (50.0%)

Branch coverage included in aggregate %.

16 of 20 new or added lines in 1 file covered. (80.0%)

4067 of 4246 relevant lines covered (95.78%)

1.92 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
80.0
-0.56% tests/isolated/multidict_type_leak.py
Jobs
ID Job ID Ran Files Coverage
1 MyPy - 33988650647.1 05 Sep 2026 07:58PM UTC 62
85.35
GitHub Action Run
Source Files on build 33988650647
  • Tree
  • List 31
  • 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 #33988650647
  • 6061953e on github
  • Prev Build on master (#33975467489)
  • Next Build on master (#33991063146)
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