New submission from twisteroid ambassador <twisteroid.ambassa...@gmail.com>:
When running the built-in regression tests, although test_sendfile_close_peer_in_the_middle_of_receiving on ProactorEventLoop completes successfully, an InvalidStateError is logged. Console output below: test_sendfile_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_events.ProactorEventLoopTests) ... Exception in callback _ProactorReadPipeTransport._loop_reading(<_OverlappedF...ne, 64, None)>) handle: <Handle _ProactorReadPipeTransport._loop_reading(<_OverlappedF...ne, 64, None)>)> Traceback (most recent call last): File "<snip>\cpython\lib\asyncio\windows_events.py", line 428, in finish_recv return ov.getresult() OSError: [WinError 64] The specified network name is no longer available During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<snip>\cpython\lib\asyncio\proactor_events.py", line 255, in _loop_reading data = fut.result() File "<snip>\cpython\lib\asyncio\windows_events.py", line 732, in _poll value = callback(transferred, key, ov) File "<snip>\cpython\lib\asyncio\windows_events.py", line 432, in finish_recv raise ConnectionResetError(*exc.args) ConnectionResetError: [WinError 64] The specified network name is no longer available During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<snip>\cpython\lib\asyncio\events.py", line 88, in _run self._context.run(self._callback, *self._args) File "<snip>\cpython\lib\asyncio\proactor_events.py", line 282, in _loop_reading self._force_close(exc) File "<snip>\cpython\lib\asyncio\proactor_events.py", line 117, in _force_close self._empty_waiter.set_exception(exc) concurrent.futures._base.InvalidStateError: invalid state ok ---------- components: asyncio messages: 319303 nosy: asvetlov, twisteroid ambassador, yselivanov priority: normal severity: normal status: open title: Test for ProactorEventLoop logs InvalidStateError type: behavior versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33834> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com