You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
well, it's actually a pretty easy fix. The new event loop in python 3.7 is ProactorEventLoop which doesn't support loop.add_reader and loop.remove_reader. Fixing it should be as easy as adding this at the top of all the files in the project.
import os
if os.name == "nt":
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
@creator1372 This is something users should do then.
However, if the Proactor event loop can, with stock asyncio, do TLS, then this should be fixed. As I don’t have the systems required to develop and test it, it’s rather unlikely to happen.
I’ll leave this open so that others can find the workaround.
(Alternatively, someone should check if the stock asyncio TLS support can by now do all the things aioopenssl can do, in which case this package can simply be retired.)
Windows 10 support is broken as of python 3.8 now thanks to the event loop policy changing. Any plans on fixing this?
The text was updated successfully, but these errors were encountered: