Skip to content

revert: remove two docstrings echoing 2009 phrasing - #1856

Merged
bdraco merged 1 commit into
masterfrom
remove_block_audit_prose
Aug 29, 2026
Merged

bdraco merged 1 commit into
masterfrom
remove_block_audit_prose

Conversation

@bdraco

@bdraco bdraco commented Aug 29, 2026

Copy link
Copy Markdown
Member

Summary

Seventh removal pass for #1835, from a block level fuzzy audit that unwraps whole docstrings and compares them against every pyzeroconf era block at 0.6 similarity. Two lines scored close to 2009 originals: the record cache set ttl docstring and the QU question predicate docstring. An AST structure audit run alongside it, comparing every current function's node shape against all 155 decliner era functions with identifiers stripped, found zero matches at 0.9, so the rewritten code shares no structural shape with the originals.

Deletion only; the follow up restores fresh lines.

Test plan

  • suite passes; prose only

@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.

@bdraco
bdraco marked this pull request as ready for review August 29, 2026 20:16
@bdraco
bdraco merged commit 7d859ab into master Aug 29, 2026
34 checks passed
@bdraco
bdraco deleted the remove_block_audit_prose branch August 29, 2026 20:16
@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 (69c2a60) to head (29536be).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1856   +/-   ##
=======================================
  Coverage   99.87%   99.87%           
=======================================
  Files          33       33           
  Lines        3882     3882           
  Branches      567      567           
=======================================
  Hits         3877     3877           
  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 remove_block_audit_prose (29536be) with master (69c2a60)

Open in CodSpeed

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