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 justdoit0823
Recipients justdoit0823
Date 2017-09-06.00:14:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504656860.29.0.0624717482661.issue31357@psf.upfronthosting.co.za>
In-reply-to
Content
With the two arguments, we can esaily to customize behaviour when I submit task to a ThreadPoolExecutor instance. It's more useful when I want to execute coroutine function with this executor.


With this, we can run coroutine in any pattern programs and don't care about whether the main framework supports. Also, in mamy non asynchronous web application, we can use asyncio releated features in this way. I think people will like this. Although, I can write an another ThreadPoolExecutor, but I think we should reuse as more code in standard lib as we can. Lastly, this makes ThreadPoolExecutor more flexible.
History
Date User Action Args
2017-09-06 00:14:20justdoit0823setrecipients: + justdoit0823
2017-09-06 00:14:20justdoit0823setmessageid: <1504656860.29.0.0624717482661.issue31357@psf.upfronthosting.co.za>
2017-09-06 00:14:19justdoit0823linkissue31357 messages
2017-09-06 00:14:19justdoit0823create