Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure loop is marked with nest_asyncio #893

Merged
merged 3 commits into from
Dec 4, 2022
Merged

Conversation

impact27
Copy link
Contributor

@impact27 impact27 commented Dec 3, 2022

I know that this is already obsolete with #835. Sometimes, this loop is not marked by nest_asyncio (when calling run_sync) so this makes sure that the two eventloops (asyncio.new_event_loop() and the other created in ioloop.IOLoop()) do not make the system crash. Unfortunately, I can not really give you a reproducible example as I was messing with spyder code when it happened. Feel free to close this PR if you think this is not needed.

impact27 and others added 2 commits December 3, 2022 23:14
I know that this is already obsolete with jupyter#835. 
Sometimes, this loop is not marked by nest_asyncio (when calling `run_sync`) so this makes sure that the two eventloops (`asyncio.new_event_loop()` and the other created in `ioloop.IOLoop()`) do not make the system crash.
Unfortunately, I can not really give you a reproducible example as I was messing with spyder code when it happened. Feel free to close this PR if you think this is not needed.
@blink1073 blink1073 added the bug label Dec 4, 2022
Copy link
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'll cut a release with this on Monday.

@blink1073 blink1073 merged commit beac94b into jupyter:7.x Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants