Skip to content

Rename md_debug.h to debug.h - #1576

Merged
asvetlov merged 1 commit into
aio-libs:masterfrom
asvetlov:claude/rename-md-debug-fddbec
Sep 25, 2026
Merged

asvetlov merged 1 commit into
aio-libs:masterfrom
asvetlov:claude/rename-md-debug-fddbec

Conversation

@asvetlov

Copy link
Copy Markdown
Member

What do these changes do?

Renames multidict/_multilib/md_debug.h to debug.h. The _multilib headers are private, so the md_ prefix on the file name carries no information. The include guard, the four #include sites and the file table in AGENTS.md are updated to match; clang-format re-sorted the includes. No code change.

Are there changes in behavior for the user?

No.

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

No.

Related issue number

Follow-up to #1513.

Checklist

  • I think the code is well written
  • Unit tests for the changes exist N/A, pure file rename covered by the existing suite
  • Documentation reflects the changes
  • If you provide code modification, please add yourself to CONTRIBUTORS.txt N/A
  • Add a new news fragment into the CHANGES/ folder
  • 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.

Agent run details (optional, for reviewers)

Tests: MULTIDICT_DEBUG_BUILD=1 C extension on 3.13, 2683 passed, 180 skipped; C extension on 3.10.17, 2696 passed, 167 skipped. Pure-Python leg not run, since only C headers changed.
Lint: pre-commit on changed files passed; make doc-spelling passed.

The _multilib headers are private, so the md_ prefix on the file name
carries no information.
@pyba-chronographer pyba-chronographer Bot added the bot:chronographer:provided There is a change note present in this PR label Sep 25, 2026
@asvetlov
asvetlov marked this pull request as ready for review September 25, 2026 09:50
@asvetlov
asvetlov requested a review from webknjaz as a code owner September 25, 2026 09:50
@greptile-apps

greptile-apps Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Low risk] Renames a debug-only C header file.

No blocking issue was found; the change is safe to merge.

What we checked:

  • Ran the header validation script against HEAD^ and HEAD, which built the C extensions in debug mode and ran the focused C API and multidict tests, yielding 1,541 passes, 150 skips, and exit code 0. T-Rex
  • Validated the source distributions with sdist-header-check.py for HEAD^ and HEAD, confirming the header rename from md_debug.h to debug.h and that the installed C backend performed a MultiDict lookup. T-Rex
  • Checked the before/after header-rename runs by inspecting the header validation logs, noting compiler commands, extension paths, test results, and exit codes, with no failing file or line observed and no tracked files modified. T-Rex
  • Validated the post-rename scenario where the after-run compiled _multidict.c with -Werror, the wheel was installed, and the C extension produced a successful MultiDict lookup. T-Rex

Reviews (1) · Last reviewed commit: "Rename md_debug.h to debug.h"

@codspeed

codspeed Bot commented Sep 25, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 310 untouched benchmarks


Comparing asvetlov:claude/rename-md-debug-fddbec (e229b15) with master (e52b43c)

Open in CodSpeed

@asvetlov
asvetlov merged commit d695fa4 into aio-libs:master Sep 25, 2026
62 checks passed
@asvetlov
asvetlov deleted the claude/rename-md-debug-fddbec branch September 25, 2026 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bot:chronographer:provided There is a change note present in this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant