STINNER Victor <[email protected]> added the comment:
> This bug may be the root cause of bpo-38912 bug.
Yeah, very likely. This bug makes asyncio inconsistent. A transport is "not
closed" and "closed" at the same time...
C:\vstinner\python\master\lib\asyncio\proactor_events.py:121: ResourceWarning:
unclosed transport <_ProactorReadPipeTransport>
_warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
Warning -- Unraisable exception
Exception ignored in: <function _ProactorBasePipeTransport.__del__ at
0x000001F30C938EB0>
Traceback (most recent call last):
File "C:\vstinner\python\master\lib\asyncio\proactor_events.py", line 122, in
__del__
self.close()
File "C:\vstinner\python\master\lib\asyncio\proactor_events.py", line 114, in
close
self._loop.call_soon(self._call_connection_lost, None)
File "C:\vstinner\python\master\lib\asyncio\base_events.py", line 746, in
call_soon
self._check_closed()
File "C:\vstinner\python\master\lib\asyncio\base_events.py", line 510, in
_check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue41467>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com