Skip to content

Fixes#341

Merged
netromdk merged 10 commits into
masterfrom
fixes
May 16, 2026
Merged

Fixes#341
netromdk merged 10 commits into
masterfrom
fixes

Conversation

@netromdk
Copy link
Copy Markdown
Owner

No description provided.

netromdk added 10 commits May 16, 2026 16:47
This could cause exact-match exclusions to silently fail, particularly on Python 2.7 and 3.0-3.6
where `ConfigParser` uses `.lstrip()` (not `.strip()`).
`bytearray`, `frozenset`, `tuple`, `bool`, and `memoryview`.

Note that it is on purpose that no test was added for `tuple`. Unlike `bytearray`, `memoryview`, and
`bool`, the plain `tuple` type does not appear in `MOD_REQS` or `MOD_MEM_REQS`.
`any()` was used for iteration side effects in parser.py. It short-circuits on the first truthy
return, so if `find_comment` returned `True`, remaining comment segments would be skipped. Correct
in practice but fragile, e.g., same line number added to the same set.
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 99.338% (+0.03%) from 99.31% — fixes into master

@netromdk netromdk merged commit 88eab76 into master May 16, 2026
25 checks passed
@netromdk netromdk deleted the fixes branch May 16, 2026 15:54
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.

2 participants