Pablo Galindo Salgado <pablog...@gmail.com> added the comment:
Also, making tests that do not leak threads for this case is very difficult as if we go with weakrefs, the test *has* to leak a pool (the pool is dead but never calls join/close) to check that when you use the iterator the exception happens. Also, getting such test race-free is going to be challenging. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35378> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com