Skip to content

🐛 Return a copy in Library.strings_dict#552

Merged
MiWeiss merged 4 commits into
mainfrom
536-strings-dict-copy
Jun 12, 2026
Merged

🐛 Return a copy in Library.strings_dict#552
MiWeiss merged 4 commits into
mainfrom
536-strings-dict-copy

Conversation

@MiWeiss

@MiWeiss MiWeiss commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Library.strings_dict returned the internal dict, so external mutation corrupted the library's state — while entries_dict already returns a copy. Now both return copies.

Fixes #536

🤖 Generated with Claude Code

@MiWeiss MiWeiss merged commit 36d99e0 into main Jun 12, 2026
31 checks passed
@MiWeiss MiWeiss deleted the 536-strings-dict-copy branch June 12, 2026 10:52
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.

Library.strings_dict leaks the internal dict (entries_dict returns a copy)

1 participant