Author vstinner
Recipients asvetlov, vstinner, yselivanov
Date 2018-06-07.10:02:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
asyncio documentation suggets to use:
import asyncio, sys

if sys.platform == 'win32':
    loop = asyncio.ProactorEventLoop()

But this code doesn't work with which creates a new event loop with the current policy, and the default policy on Windows is to use SelectorEventLoop.

I cannot find a "Proactor event loop policy" in asyncio, nor how to change the default policy to use Proactor event loop.

The workaround is to not use which has been added in Python 3.7.
Date User Action Args
2018-06-07 10:02:04vstinnersetrecipients: + vstinner, asvetlov, yselivanov
2018-06-07 10:02:04vstinnersetmessageid: <>
2018-06-07 10:02:04vstinnerlinkissue33792 messages
2018-06-07 10:02:04vstinnercreate