← 输入框|bugs.python.org|刷新

➜

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.

作者 vstinner
收信人 asvetlov, vstinner, yselivanov
日期 2018-09-24.15:58:45
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1537804725.13.0.956365154283.issue34037@psf.upfronthosting.co.za>
In-reply-to
内容
> Maybe.  At least we need to add a "timeout" argument to asyncio.run() to let it wait for executor jobs.

The shutdown() method of concurrent.futures.Executor API doesn't accept a timeout. It waits for multiple things.

I added "block_on_close = True" class attribute to socketserver.ForkingMixIn and socketserver.ThreadingMixIn. By default, server_close() waits until all children complete, but the wait is non-blocking if block_on_close is false.
历史
日期 用户 动作 参数
2018-09-24 15:58:45vstinner修改recipients: + vstinner, asvetlov, yselivanov
2018-09-24 15:58:45vstinner修改messageid: <1537804725.13.0.956365154283.issue34037@psf.upfronthosting.co.za>
2018-09-24 15:58:45vstinner链接issue34037 messages
2018-09-24 15:58:45vstinner创建