Skip to content

fix(session): keep output names and values paired when iterating after remove - #650

Merged
decahedron1 merged 1 commit into
pykeio:mainfrom
onuralpszr:fix-outputs-iter-after-remove
Sep 29, 2026
Merged

decahedron1 merged 1 commit into
pykeio:mainfrom
onuralpszr:fix-outputs-iter-after-remove

Conversation

@onuralpszr

Copy link
Copy Markdown
Contributor

remove blanks the key but leaves the value in place, and the iterators skipped the blank key without skipping its value, so every output after a removed one was paired with the previous value, this advances both together and adds a test that fails without the fix.

@onuralpszr
onuralpszr force-pushed the fix-outputs-iter-after-remove branch from 554ab8b to f499f75 Compare September 29, 2026 22:35
@onuralpszr
onuralpszr force-pushed the fix-outputs-iter-after-remove branch from f499f75 to dffdc06 Compare September 29, 2026 22:42
@decahedron1
decahedron1 merged commit 1779300 into pykeio:main Sep 29, 2026
18 checks passed
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