It mostly works, but sometimes I get this error that I do not understand:
Exception in callback handle: <AsyncioHandle AsyncioTransport._loop_reading(<Future finis.../haio.py:2188>) created at /opt/hfs20.5.510/houdini/python3.11libs/haio.py:2149> source_traceback: Object created at (most recent call last): File "/opt/hfs20.5.510/houdini/python3.11libs/haio.py", line 1182, in _on_read fut.set_result((buffer, length)) File "/opt/hfs20.5.510/houdini/python3.11libs/haio.py", line 2149, in call_soon handle = self._call_soon(callback, args, context) Traceback (most recent call last): File "/opt/hfs20.5.510/houdini/python3.11libs/haio.py", line 2004, in _run self._context.run(self._callback, *self._args) File "/opt/hfs20.5.510/houdini/python3.11libs/haio.py", line 1821, in _loop_reading self._data_received(data, length) File "/opt/hfs20.5.510/houdini/python3.11libs/haio.py", line 1841, in _data_received assert self._pending_data_length == -1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I am guessing the transport goes into inconsistent state.
Apparently Houdini always maintains a single event loop, new_event_loop just returns the existing instance. I read in the code comments that Qt already maintains an event loop.
