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 bquinlan
Recipients bquinlan, hniksic, pitrou
Date 2019-05-06.14:48:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557154117.56.0.891886390009.issue36780@roundup.psfhosted.org>
In-reply-to
Content
>> The current behavior is explicitly documented, so presumably
>> it can't be (easily) changed

And it isn't clear that it would be desirable to change this even if it were possible - doing structured resource clean-up seems consistent with the rest of Python.

That being said, I can see the user case for this.

If you added this as an argument to shutdown() then you'd probably also have to add it as an option to the constructors (for people using Executors as context managers). But, if you have to add it to the constructor anyway, you may as well *only* add it to the constructor.

I'll let an active maintainer weigh in on whether, on balance, they think that this functionality is worth complicating the API.
History
Date User Action Args
2019-05-06 14:48:37bquinlansetrecipients: + bquinlan, pitrou, hniksic
2019-05-06 14:48:37bquinlansetmessageid: <1557154117.56.0.891886390009.issue36780@roundup.psfhosted.org>
2019-05-06 14:48:37bquinlanlinkissue36780 messages
2019-05-06 14:48:37bquinlancreate