Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.3k
bpo-45624: make test_graphlib not depend on the iteration order of sets#29233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
the current test depended on integer sets being iterated on in a certainfixed order. That order is different on PyPy (insertion based) and couldchange in CPython in the future in theory. Make the test robust againsta different iteration order by sorting.
miss-islington commentedOct 28, 2021
miss-islington commentedOct 28, 2021
Sorry@cfbolz and@ambv, I had trouble checking out the |
…ts (pythonGH-29233)the current test depended on integer sets being iterated on in a certainfixed order. That order is different on PyPy (insertion based) and couldchange in CPython in the future in theory. Make the test robust againsta different iteration order by sorting.(cherry picked from commit7401694)Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
bedevere-bot commentedOct 28, 2021
GH-29292 is a backport of this pull request to the3.9 branch. |
miss-islington commentedOct 28, 2021
…ts (pythonGH-29233)the current test depended on integer sets being iterated on in a certainfixed order. That order is different on PyPy (insertion based) and couldchange in CPython in the future in theory. Make the test robust againsta different iteration order by sorting.(cherry picked from commit7401694)Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
bedevere-bot commentedOct 28, 2021
GH-29293 is a backport of this pull request to the3.10 branch. |
…ts (GH-29233) (GH-29292)the current test depended on integer sets being iterated on in a certainfixed order. That order is different on PyPy (insertion based) and couldchange in CPython in the future in theory. Make the test robust againsta different iteration order by sorting.(cherry picked from commit7401694)Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
…ts (GH-29233) (GH-29293)the current test depended on integer sets being iterated on in a certainfixed order. That order is different on PyPy (insertion based) and couldchange in CPython in the future in theory. Make the test robust againsta different iteration order by sorting.(cherry picked from commit7401694)Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
bedevere-bot commentedOct 28, 2021
|
Uh oh!
There was an error while loading.Please reload this page.
the current test depended on integer sets being iterated on in a certain
fixed order. That order is different on PyPy (insertion based) and could
change in CPython in the future in theory. Make the test robust against
a different iteration order by sorting.
https://bugs.python.org/issue45624