Andrew Svetlov <andrew.svet...@gmail.com> added the comment:
I still think that this is a valuable change but we need to discuss public API. In fact, in my job we used to override default executor and wait for its shutdown with explicit waiting to make the system robust. The problem is that loop.close() can "hang" for minutes if there are pending background jobs or slow DNS resolution requests. We controlled our tasks running in the thread pool carefully and used aiodns for DNS resolving. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34037> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com