Skip to content

revert: remove the 2009 record display formats - #1878

Merged
bdraco merged 2 commits into
masterfrom
remove_2009_repr_formats
Aug 29, 2026
Merged

bdraco merged 2 commits into
masterfrom
remove_2009_repr_formats

Conversation

@bdraco

@bdraco bdraco commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

Fifteenth removal pass for #1835, from a third independent audit. The record display family in _dns.py is a structural port of the 2009 toString family: the hdr[type,class-unique,name]=other layout, the ?(x) fallback, the ttl/remaining prefix, the cpu space os and server colon port arguments. #1872 removed only the DNSText member; this deletes the rest of the family whole (entry_to_string, get_class_, get_type, to_string, the DNSHinfo and DNSService reprs) plus a 2021 comment in the name compressor that paraphrases the 2009 pointer comment. The tree is intentionally red until the follow up lands fresh formats.

Test plan

  • deletion only; repr smoke tests red by design until the follow up

@github-actions

Copy link
Copy Markdown

Thanks for contributing! A quick note: this project is in the process of moving from LGPL-2.1 to Apache 2.0, see #1835.

By continuing with this pull request you are okay with your contribution, and your previous contributions to this repository, being offered under Apache 2.0.

If that does not work for you, no hard feelings; reply with the exact phrase I do not agree to the Apache 2.0 license or simply close this pull request, and nothing of yours will be included in the change.

@codspeed

codspeed Bot commented Aug 29, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 24 untouched benchmarks


Comparing remove_2009_repr_formats (5584f3c) with master (6d061a4)1

Open in CodSpeed

Footnotes

  1. No successful run was found on master (77315dd) during the generation of this report, so 6d061a4 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_2009_repr_formats branch from d84dd4f to 5584f3c Compare August 29, 2026 23:14
@bdraco
bdraco marked this pull request as ready for review August 29, 2026 23:14
@bdraco
bdraco merged commit 07a6038 into master Aug 29, 2026
0 of 2 checks passed
@bdraco
bdraco deleted the remove_2009_repr_formats branch August 29, 2026 23:14
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