Tal Einat <talei...@gmail.com> added the comment:

I've also seen these occasionally, but I haven't yet found a way to reproduce 
consistently.

Regardless, IMO the shutdown close() and _close() should be the places handling 
shutdown-related exceptions if possible.  In all of the tracebacks posted here, 
as well as those in #35263 and #17822, one such method is in the call chain, 
and it could simply catch and handle the raised exception.

I also think these are clear improvements that are safe to include, even 
without understanding the full details of the sequences of events leading to 
the errors.

----------

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

Reply via email to