David Brochart

Results 266 issues of David Brochart

Closes #3285 ### TODO - [x] Format changelog so it's compatible with the releaser - [ ] Check whether we can keep the current changelog for `8.0` - [ ]...

maintenance

traitlets' types are used to perform run-time checks. Would adding type annotation on them make sense? It seems that we have some information that we could use to potentially find...

good first issue

Huly®: YJS-718

Kernel messages are currently [signed](https://github.com/jupyter/jupyter_client/blob/7d05cfb640a05bd80abc11db815df04b8c3ce25c/jupyter_client/session.py#L744-L745), preventing e.g. from running code that doesn't originate from a trusted source, but the code of an execution request is still sent unencrypted over the...

### Problem Currently, messages on the `shell` channel are handled in the main thread. This guarantees that e.g. execution requests are run one after the other, in the order they...

Discussing #797 with @SylvainCorlay, we thought that it might not tackle the issue at the right level. Instead of enabling background execution on a per-message basis, maybe we should execute...

Otherwise type checkers complain about a kernel client not having the required methods.

enhancement

The kernel protocol documentation is not very clear about the ["shutdown and restart" feature](https://github.com/jupyter/jupyter_client/blob/30823666344c9d03daa7330a81caedd04a6a53a6/docs/messaging.rst#kernel-shutdown). A `shutdown_request` has `content`: ``` content = { 'restart' : bool # False if final shutdown,...

See https://github.com/jupyterlab/jupyterlab/issues/12194. It looks like interrupting a cell execution which consists of awaiting a coroutine, e.g.: ```python import asyncio async def main(): await asyncio.sleep(5) await main() ``` doesn't take effect...

bug

We are trying to drop Tornado from ipykernel in https://github.com/ipython/ipykernel/pull/876. Because we now use asyncio's event loop, a socket's `recv_multipart` must be awaited. This change consists of adding `Session.async_recv`, which...

enhancement