Skip to content

Conversation

@jproudlo
Copy link

…tions are no longer reproducible with non-zero seeds (tested on Python 3.8). My suggested update uses fromkeys and list as a workaround (another solution would be ordered-set from PyPi).

Note there are multiple other occurrences of sets remaining, which may
cause ordering issues elsewhere - the same workaround could be applied to
them if necessary.

I've also extended the debug a little - large data structures are easier to read.

…tions

are no longer reproducible with non-zero seeds.  Use fromkeys and list as
a workaround (another solution would be ordered-set from PyPi).

Note there are multiple other occurrences of sets remaining, which may
cause ordering issues elsewhere - the same workaround could be applied to
them if necessary.
@zlorb zlorb merged commit eb6b4f4 into zlorb:master Feb 23, 2022
@zlorb
Copy link
Owner

zlorb commented Feb 23, 2022

Thanks @jproudlo for the contribution.
Don't have time to test this soon, so counting on your tests...

@jproudlo jproudlo deleted the setReplacement branch February 24, 2022 08:34
@jproudlo
Copy link
Author

Thanks for the quick turnaround @zlorb . As a sanity check I've cloned the merged fork and checked it still passes my tests.

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