Skip to content

Fix dictionary mutation during filter lookup - #244

Open
be-student wants to merge 1 commit into
h2non:masterfrom
be-student:codex/214-nonmutating-dict-filter
Open

Fix dictionary mutation during filter lookup#244
be-student wants to merge 1 commit into
h2non:masterfrom
be-student:codex/214-nonmutating-dict-filter

Conversation

@be-student

Copy link
Copy Markdown

Closes #214.

Build extended-filter candidates without assigning through DatumInContext.value. Dictionary candidates now retain their field paths, so find() leaves mutable and read-only mappings unchanged while later match updates and filter removals still address the original keys.

Tests: the full 354-test suite passes on Python 3.12, 3.13, and 3.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.

Child.find(source) method updates contents of source

1 participant