Repository navigation
Conversation
…e protocol base (#1103) Accuracy: - PCAP-NG registry comments describe what a value is: a str naming the _read_*/_make_* methods, falling back to the *_unknown pair, or a (parser, constructor) pair; they claimed a single parsing method. - _EnumRegistry.__missing__ gets its own docstring; it rendered the inherited defaultdict pseudo-code, which describes inserting a miss. Wording: - "c.f." becomes "see" (or "compare" where a comparison is meant), and "&" becomes "and", in the next-layer registry comments. - Module docstrings and their pages read "implements an extractor for". - Raw.__post_init__ and a PCAP-NG schema docstring lose garbled clauses. Counts: - A comment in ProtocolBase._make_index no longer counts lines. Refs #1103
Owner
Author
|
GOOD TO GO at |
Contributor
|
Coverage: 90.07% (unit tier, Python 3.15,
Per-file detail: the |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please follow the guide below
You will be asked some questions, please read them carefully and answer honestly
Put an
xinto all the boxes [ ] relevant to your pull request (like that [x])Use Preview tab to see how your pull request will actually look like
Searched for similar pull requests
Followed the coding style (
make pylint,make mypy,make isort)make testpasses, and a test case covers the change. Narrow runs only, listed below.Added a changelog entry under
docs/source/changelog/and regeneratedCHANGELOG.md, if the change is user-visible: N/A — centralised in docs(changelog): shared 1.5.0 changelog — long-lived, merges last (#610, #616, #617, #618, #620) #657What is the purpose of your pull request?
Tick the commit type your subject line carries.
fix— corrects a defectfeat— adds a featureperf— changes performance, not behaviourrefactor— changes neither behaviour nor performancetest— tests onlydocs— documentation onlyci— workflows or build toolingrelease— bumps the version or rolls up a distributionchore— anything elseThe fourth whole-repo prose pass of #1103, over the application and misc protocols and the protocol base. It changes prose only: every changed
.pyfile's AST is unchanged once string expressions are blanked, except where a docstring is added or vendor template text is edited together with its generated const file.Accuracy:
read/make methods, falling back to the *_unknown pair, or a
(parser, constructor) pair; they claimed a single parsing method.
inherited defaultdict pseudo-code, which describes inserting a miss.
Wording:
"&" becomes "and", in the next-layer registry comments.
Counts:
Refs #1103