This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mike Hommey
Recipients Mike Hommey, bquinlan, davin, diogocp, ned.deily, paul.moore, rbcollins, sbt, steve.dower, terry.reedy, tim.golden, tim.peters, zach.ware
Date 2020-04-07.03:01:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586228509.18.0.914875681356.issue26903@roundup.psfhosted.org>
In-reply-to
Content
This is still a problem in python 3.7 (and, I guess 3.8).

When not even giving a max_workers, it fails with a ValueError exception on _winapi.WaitForMultipleObjects, with the message "need at most 63 handles, got a sequence of length 63"

That happens with max_workers=None and max_workers=61 ; not max_workers=60.

I wonder if there's an off-by-one in this test: https://github.com/python/cpython/blob/7668a8bc93c2bd573716d1bea0f52ea520502b28/Modules/_winapi.c#L1708
History
Date User Action Args
2020-04-07 03:01:49Mike Hommeysetrecipients: + Mike Hommey, tim.peters, terry.reedy, paul.moore, bquinlan, rbcollins, tim.golden, ned.deily, sbt, zach.ware, steve.dower, davin, diogocp
2020-04-07 03:01:49Mike Hommeysetmessageid: <1586228509.18.0.914875681356.issue26903@roundup.psfhosted.org>
2020-04-07 03:01:49Mike Hommeylinkissue26903 messages
2020-04-07 03:01:48Mike Hommeycreate