ipython / ipython/ipykernel

`_eventloop_set` event called from non-async context

Open
#1,292 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
734
Forks
412
Avg merge
1d 5h
Merged PRs (30d)
8

Description

The `_eventloop_set` AnyIO event cannot be set [here](https://github.com/ipython/ipykernel/blob/8cc1ee3b71de8273ca0fba4a560406adc05fdfde/ipykernel/kernelbase.py#L558), because it may be called from a non-async context. This event was introduced in https://github.com/ipython/ipykernel/pull/1265 and the issue was revealed in https://github.com/ipython/ipykernel/pull/1291 when running on a trio backend.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.