Repository navigation
Conversation
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.
When a customizer requests fallback comparison,
is_equal_withtreatsdictionary keys as paths through
has(). Equal literal keys such asa.bor
a[0]can compare unequal; a different nested structure or an integerkey corresponding to a numeric string can instead raise
KeyError.Check dictionary membership directly, while retaining list-index comparison
and explicit customizer results. Add eight cases covering literal keys,
nested values and mismatches, symmetry, the curried API, and controls. Also
include the changelog and contributor entry requested by the guide.
Validation: all 2,888 unit/doctest tests pass with 100% coverage on Python
3.10 through 3.14. Full Ruff/format, MyPy, strict documentation build,
sdist/wheel builds, Twine checks and chaining-type consistency checks pass.
The original source fails six new cases, while two controls pass.
One initial Python 3.10 run hit the unchanged debounce timing test; that
test passed in isolation and the final complete run passed. No timer code
or timing tests are changed.
AI disclosure: This patch, tests and description were prepared with OpenAI
Codex assistance. The reported checks were executed locally.