Uh oh!
There was an error while loading. Please reload this page.
gh-123471: Make concurrent iteration over itertools.repeat safe under free-threading - #131247
Conversation
rhettinger
commented
Mar 14, 2025
Is it possible to create tests demonstrating code the previously failed that can now be counted on to succeed? |
eendebakpt
commented
Mar 14, 2025
@rhettinger The issue that this PR solves is the following: when defining the iterator as we can have multiple threads passing the condition A test for this is: On my system this creates a deadlock (typically after a couple of 1000) iterations in a free-threading debug build. |
bedevere-bot
commented
Apr 13, 2025
|
freakboy3742
commented
Apr 17, 2025
The iOS failure is caused by #127108 |
If needed we can add a unit test similar to the one in https://github.com/python/cpython/pull/131212/files