-
Notifications
You must be signed in to change notification settings - Fork 8
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
asyncio error on mac #174
Comments
set_event_loop(loop): Set loop as a current event loop for the current OS thread. The documentation for new_event_loop (current code) simply says The documentation for get_event_loop (proposed change) says:
The problem here is that |
Also some notes on the exception thrown:
Called upon the creation of the event loop, not exactly sure what it's trying to do but regardless it tries a different method _selector.register in the exception handler.
This is the main error. The last line is a method of KqueueSelector, which is specific to BSD OS's like mac.
I'm guessing the kevent was not found and kev is null. Really wish I had a mac to investigate this.
Not sure what's going on here. |
Might be worth reporting this as a python bug - but I'd like to see if I'm able to reproduce it with simplified exec code on a mac first :| |
Almenon/AREPL-vscode#387
Reproduction Requirements:
The bug can be reproduced with a simple import statement:
import math
BrandonNav says that changing the following
AREPL-backend/python/arepl_python_evaluator.py
Line 234 in dfe6b61
asyncio.set_event_loop(asyncio.get_event_loop())
fixes it.The text was updated successfully, but these errors were encountered: