Use get_running_loop instead of get_event_loop#1823
Use get_running_loop instead of get_event_loop#1823auxsvr wants to merge 1 commit intoprompt-toolkit:mainfrom
get_running_loop instead of get_event_loop#1823Conversation
The latter is deprecated and may not always return the running event loop.
|
This is intentional. IPython used to pass the input hook by setting an event loop which we can use in prompt_toolkit. The We can remove the Feel free to create a PR that does that. |
|
|
|
If I am wrong, please explain. At the moment, using |
The latter is deprecated and may not always return the running event loop.
Resolves #1824.