Skip to content

Conversation

@nevans
Copy link
Collaborator

@nevans nevans commented Jan 17, 2025

Most methods convert their inputs into an array of range tuples.  For
efficiency, SequenceSet inputs just use the internal `@tuples` array
directly.  Unfortunately, the internal tuples arrays were also reused,
which could cause a variety of bugs.  Fortunately, the only bug I
experienced was that adding a frozen SequenceSet would result in frozen
tuples being added to a mutable set.  But this could also result in
modifications to one SequenceSet affecting another SequenceSet!
@nevans nevans added the bug Something isn't working label Jan 17, 2025
@nevans nevans merged commit d11c8b6 into v0.4-stable Jan 17, 2025
30 checks passed
@nevans nevans deleted the backport-0.4-seqset-bugfixes branch January 17, 2025 14:13
@nevans nevans added the backport This issue or PR is for a stable release branch label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This issue or PR is for a stable release branch bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants