-
Notifications
You must be signed in to change notification settings - Fork 732
ConnectionResetError on Python 3.8 for windows #1023
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
Comments
Note: This happens in both x32 and x64, but much less often in x64. |
Thanks for reporting @erezsh! I'm not sure what's going on, and wonder whether it's maybe even a bug in asyncio... Can you see whether this is also the case for the Run the following snippet before your code: import asyncio
import selectors
selector = selectors.SelectSelector()
loop = asyncio.SelectorEventLoop(selector)
asyncio.set_event_loop(loop) |
That seems to cure it! What's going on here? Is it safe to use in my code? |
Python 3.8 made the @vstinner: Could this be a bug in the |
I have no idea. If you think that it is a bug, write a producer and post it to bugs.python.org. |
Issue opened at bugs.python.org: https://bugs.python.org/issue39010 |
Getting the same error when I run ijupyter in terminal.
|
Also getting this, do we have a workaround? |
prompt-toolkit/python-prompt-toolkit#1023 Thanks to Russell Hole for the workaround implementation example: ctxis/cbrcli@9f8da07 Code blackening left 17 files unchanged.
This was fixed in Python: python/cpython#22017 Otherwise, the workaround is to make sure a |
Using the simplest feature (
prompt
) fails with async exception.After running the prompt, I kept pressing
a
,enter
.I'm using Windows 10,
prompt_toolkit.__version__ = '2.0.10'
The text was updated successfully, but these errors were encountered: