Hi @davidbrochart!
It turns out that akernel actually solves the issue with the widget we are building. We can use await
to call async methods on our widget and the akernel isn't blocked unlike the default one:
Do you think there is a chance of these changes being accepted into the default ipykernel?
Our widget calls self.send(msg)
without passing buffers
and we are hitting this error:
It works just fine if we use self.send(msg, buffers=[])
instead, but I think akernel should also handle buffers=None
.
Actually, send_message
in akernel has a mutable default list argument for buffers
which is problematic. It should probably just have a check if buffers to is not None
instead
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4