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 martin.panter
Recipients Wei Li, jaraco, martin.panter, maru-n, vstinner
Date 2019-12-15.22:37:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1576449462.79.0.187504385332.issue37193@roundup.psfhosted.org>
In-reply-to
Content
Another workaround might be to set the new "block_on_close" flag (Issue 33540) to False on the server subclass or instance.

Victor: Replying to <https://bugs.python.org/issue37193#msg345817> "What do I think of also using a weakref?", I assume you mean maintaining "_threads" as a WeakSet rather than a list object. That seems a nice way to solve the problem, but it seems redundant to me if other code such as Maru's proposal was also added to clean up the list.
History
Date User Action Args
2019-12-15 22:37:42martin.pantersetrecipients: + martin.panter, jaraco, vstinner, maru-n, Wei Li
2019-12-15 22:37:42martin.pantersetmessageid: <1576449462.79.0.187504385332.issue37193@roundup.psfhosted.org>
2019-12-15 22:37:42martin.panterlinkissue37193 messages
2019-12-15 22:37:42martin.pantercreate