Joe <lawso...@ornl.gov> added the comment:

We are running into this all the time, ever since the Proactor became the 
default on Windows in 3.8. 

Usually it comes up when the program terminates due to an unhandled exception 
during a highly concurrent operation. The resulting cascade of RuntimeErrors 
often obscures the real reason for failure, which makes debugging more painful 
than it should be. But sometimes this cascade of RuntimeErrors will occur even 
when the program otherwise executes successfully. So it can be difficult to 
know if the program actually blew up or if it's just benign event loop vomit.

Converting this particular error to a warning would be great, but eliminating 
the call to the event loop in __del__ would be even better. I understand that's 
easier said than done, or else ProactorBasePipeTransport wouldn't be leaning on 
__del__ in the first place.

----------
nosy: +lawsonjl.ornl

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

Reply via email to