bpo-40263: Fix off-by-one-error in _winapi_WaitForMultipleObjects_impl by mingwandroid ยท Pull Request #19501 ยท python/cpython
mingwandroid
changed the title
Fix off-by-one-error in _winapi_WaitForMultipleObjects_impl
[bpo-40263](https://bugs.python.org/issue40263): Fix off-by-one-error in _winapi_WaitForMultipleObjects_impl
It's unclear to me why the -1 is needed? Do we need to reserve a slot for some other handle?
EDIT: I see it now, though it's unfortunate that we get limited to 63 even in non-main threads.
aeros
changed the title
[bpo-40263](https://bugs.python.org/issue40263): Fix off-by-one-error in _winapi_WaitForMultipleObjects_impl
bpo-40263: Fix off-by-one-error in _winapi_WaitForMultipleObjects_impl
@nehaljwani you aren't using anaconda python? /me cries. ๐
@mingwandroid I am, an upgrade to the patched build resolved the issue, however I'd still like to see this merged ๐
Is this trivial, somewhat important fix really going to make it to 1 year old before anyone reviews it? Ping @zooba
Sorry that I missed all the pings. Wish I could have resolved this while Ray was still with us to see it.
Thanks @mingwandroid for the PR, and @zooba for merging it ๐ฎ๐.. I'm working now to backport this PR to: 3.10, 3.9.
๐๐โ๐ค I'm not a witch! I'm not a witch!
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Jul 28, 2021โฆs_impl (pythonGH-19501) (cherry picked from commit 92b5dc7) Co-authored-by: Ray Donnelly <mingw.android@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
Jul 28, 2021โฆs_impl (pythonGH-19501) (cherry picked from commit 92b5dc7) Co-authored-by: Ray Donnelly <mingw.android@gmail.com>
miss-islington added a commit that referenced this pull request
Jul 28, 2021zooba pushed a commit that referenced this pull request
Jul 28, 2021This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters