Skip to content

Feature/sort - #25

Merged
mar10 merged 10 commits into
mainfrom
feature/sort
Aug 9, 2026
Merged

Feature/sort#25
mar10 merged 10 commits into
mainfrom
feature/sort

Conversation

@mar10

@mar10 mar10 commented Aug 8, 2026

Copy link
Copy Markdown
Owner

No description provided.

mar10 added 8 commits August 8, 2026 08:54
Implement `Tree.__reversed__` to explicitly reject `reversed(tree)` with a `TypeError`, preventing unsupported reverse iteration behavior. Update the changelog to document this breaking change.
`Tree.__contains__` now uses `Tree.__getitem__` lookup semantics instead of `find_first`, so `x in tree` behaves consistently with `tree[x]` (including Node/node_id/data_id/data matching). It returns `False` only when no match exists and keeps `True` for ambiguous matches. The changelog was updated to document this behavior change.
@mar10
mar10 marked this pull request as ready for review August 8, 2026 16:43
@mar10
mar10 merged commit 39c2fae into main Aug 9, 2026
7 checks passed
@mar10
mar10 deleted the feature/sort branch August 9, 2026 09:21
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