[issue45835] Race condition in test_queue can lead to test failures

2021-11-18 Thread Łukasz Langa
Łukasz Langa added the comment: Thanks, Sam! ✨  ✨ -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45835] Race condition in test_queue can lead to test failures

2021-11-18 Thread miss-islington
miss-islington added the comment: New changeset 9450c751cc2053b1c2e03ec92ed822a41223b142 by Miss Islington (bot) in branch '3.9': bpo-45835: Fix race condition in test_queue (GH-29601) https://github.com/python/cpython/commit/9450c751cc2053b1c2e03ec92ed822a41223b142 --

[issue45835] Race condition in test_queue can lead to test failures

2021-11-18 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 5cf05c71d13a4b4a94cc77da4214ee2f0b9c7de7 by Miss Islington (bot) in branch '3.10': bpo-45835: Fix race condition in test_queue (GH-29601) (GH-29612) https://github.com/python/cpython/commit/5cf05c71d13a4b4a94cc77da4214ee2f0b9c7de7 --

[issue45835] Race condition in test_queue can lead to test failures

2021-11-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset df3e53d86b2ad67da9ac2b5a3f56257d1f394982 by Sam Gross in branch 'main': bpo-45835: Fix race condition in test_queue (#29601) https://github.com/python/cpython/commit/df3e53d86b2ad67da9ac2b5a3f56257d1f394982 -- nosy: +pitrou

[issue45835] Race condition in test_queue can lead to test failures

2021-11-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +27849 pull_request: https://github.com/python/cpython/pull/29613 ___ Python tracker ___

[issue45835] Race condition in test_queue can lead to test failures

2021-11-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +27848 pull_request: https://github.com/python/cpython/pull/29612 ___ Python tracker

[issue45835] Race condition in test_queue can lead to test failures

2021-11-17 Thread Sam Gross
Change by Sam Gross : -- pull_requests: +27844 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29601 ___ Python tracker ___

[issue45835] Race condition in test_queue can lead to test failures

2021-11-17 Thread Sam Gross
Change by Sam Gross : -- keywords: +patch Added file: https://bugs.python.org/file50447/issue45835_repro.patch ___ Python tracker ___

[issue45835] Race condition in test_queue can lead to test failures

2021-11-17 Thread Sam Gross
New submission from Sam Gross : The test_queue suite has a race condition that can lead to test failures in test_many_threads, test_many_threads_nonblock, and test_many_threads_timeout. Consumers are signaled to exit by a sentinel value (None). The sentinel values are at the end of the input