Skip to content

Fix incorrect missing-item handling in ExecutionTrace.remove#621

Open
ibarraz5 wants to merge 2 commits intogoogle:mainfrom
ibarraz5:dev-2
Open

Fix incorrect missing-item handling in ExecutionTrace.remove#621
ibarraz5 wants to merge 2 commits intogoogle:mainfrom
ibarraz5:dev-2

Conversation

@ibarraz5
Copy link

@ibarraz5 ibarraz5 commented Nov 17, 2025

This PR fixes a logic issue in ExecutionTrace.remove where missing items were not handled as intended.
The current implementation checks if index == -1, but list.index() in Python never returns -1; it raises a ValueError when the item is not found.

@ibarraz5 ibarraz5 changed the title Fix typo in 'development' in README.md Fix incorrect missing-item handling in ExecutionTrace.remove Nov 17, 2025
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