ipykernel
ipykernel copied to clipboard
IPython Kernel for Jupyter
I recently updated a conda environment and noticed that Jupyter Lab failed due to a [missing arm64 build of psutil](https://github.com/giampaolo/psutil/issues/2098). After some digging I found out that [psutil was added...
According to the [Messaging documentation](https://jupyter-client.readthedocs.io/en/stable/messaging.html#execution-errors) there should be a message type 'error' sent on the iopub channel when cell execution errors occur. It is meant to mimic the execute_reply shell...
https://github.com/ipython/ipykernel/pull/863 implements the ability to debug standard library and 3rd party libraries via a config. This ability is not documented. We should add to the doc the needed config to...
We are adopting auto-formatting, including `black` and `isort` on all files. cf #889 From the [Django Enhancement Proposal to use Black](https://github.com/django/deps/blob/main/final/0008-black.rst): Reformatting will also be disruptive for open pull requests....
See https://github.com/ipython/ipykernel/pull/323, before big split, we were making sure each execution requests would not trigger multiple `set_next_input`, that was due to `?` triggering multiple `set_next_input` in a for loop and...
~If the source cannot be looked up by the `path` argument, forward it to debugpy as it might be able to resolve it using the sourceReference field.~ EDIT: If the...
ipykernel is capturing stdout from subprocesses since ipykernel 6.0.0 according to the [changelog](https://github.com/ipython/ipykernel/blob/main/CHANGELOG.md#600). On Windows it does not seem like the output of subprocesses is correctly captured. Here is a...
It looks like interrupting a cell execution which consists of awaiting a top-level coroutine, e.g.: ```python import asyncio async def main(): await asyncio.sleep(5) await main() ``` doesn't take effect immediately,...
The [Python docs](https://docs.python.org/2/reference/simple_stmts.html?highlight=__all__#the-import-statement) describe "public names" as being defined by `__all__` where it exists. It would be helpful if this rule was respected by the Python kernel to avoid module...