Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

It turned out be more complicated than I expected. We need to keep the even 
loop after getting exception in debug() for having ability to run doCleanup() 
etc. The option is to close the even loop in __del__. But we should ensure that 
it is closed before running other event loop. Also, assertRaises() creates 
reference loops, so we cannot use it.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45238>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to