Skip to content

chore: restore behavior with freshly authored replacements - #1844

Merged
bdraco merged 4 commits into
masterfrom
restore_fresh_expression
Aug 29, 2026
Merged

bdraco merged 4 commits into
masterfrom
restore_fresh_expression

Conversation

@bdraco

@bdraco bdraco commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

Restores the behavior deleted in #1843 with freshly written code for #1835. Everything here is new expression; the const tables and header flag constants were rewritten with fresh comments, the _dns record helpers and abstract raisers were reauthored, the outgoing writer paths were reimplemented, and the two example scripts are brand new files. No deletions in this PR, those all live in #1843.

Details

  • _write_record now derives the rdata length from the size counter instead of rescanning the data chunks
  • the AAAA mnemonic in the type table is now "aaaa"
  • fresh docstrings were written for every public member that renders in the API docs, so nothing disappears from Read the Docs
  • .pxd locals were updated alongside the new variable names in outgoing.py

Test plan

  • full suite against a REQUIRE_CYTHON=1 rebuild, 514 passed
  • pure Python spot run with the extensions hidden
  • hypothesis fuzz suite for the incoming parser
  • verified every docs rendered public member still has a docstring
  • blame audit with move and copy detection shows no remaining prose or code expression from the declining contributors, only license headers and published mechanical matches

@codecov

codecov Bot commented Aug 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.87%. Comparing base (764d6b1) to head (cb940f3).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1844      +/-   ##
==========================================
- Coverage   99.87%   99.87%   -0.01%     
==========================================
  Files          33       33              
  Lines        3883     3882       -1     
  Branches      567      567              
==========================================
- Hits         3878     3877       -1     
  Misses          3        3              
  Partials        2        2              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@codspeed

codspeed Bot commented Aug 29, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 24 untouched benchmarks


Comparing restore_fresh_expression (cb940f3) with master (764d6b1)1

Open in CodSpeed

Footnotes

  1. No successful run was found on master (746ce55) during the generation of this report, so 764d6b1 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@bdraco
bdraco force-pushed the remove_nonconsented_src branch from 3b2b1e5 to 6bed3cd Compare August 29, 2026 19:00
@bdraco
bdraco force-pushed the restore_fresh_expression branch from 7713ef0 to f702e80 Compare August 29, 2026 19:00
@bdraco
bdraco marked this pull request as ready for review August 29, 2026 19:07
Base automatically changed from remove_nonconsented_src to master August 29, 2026 19:08
@bdraco
bdraco force-pushed the restore_fresh_expression branch from bbbf8c9 to cb940f3 Compare August 29, 2026 19:08
@bdraco
bdraco merged commit 55061e7 into master Aug 29, 2026
34 of 35 checks passed
@bdraco
bdraco deleted the restore_fresh_expression branch August 29, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant