This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author yselivanov
Recipients Ben.Darnell, Big Stone, asvetlov, lukasz.langa, vstinner, yselivanov
Date 2019-06-23.23:32:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1561332773.0.0.427578129724.issue37373@roundup.psfhosted.org>
In-reply-to
Content
+1 to what Ben said.

Andrew,

> The proposal looks like a very dirty hack and smells as it is.

I wonder why are you feeling like that about this idea.  I don't think this is a hack at all.  There's no native API, so we're forced to use another approach.

> There is no very strong reason to apply it.

I think there's such a reason.  asyncio has a well defined API that people use and create programs dependent on it.  And then people learn that the API isn't really supported on Windows with one loop, or when it is supported, other APIs aren't.  They are then forced to either not support Windows or to rewrute their programs.  The situation further complicates if they are using third-party code.

This is a very unfortunate and weird position we put our users into.  So this indeed is a perfect example where "practicality beats purity" principle should be invoked.
History
Date User Action Args
2019-06-23 23:32:53yselivanovsetrecipients: + yselivanov, vstinner, asvetlov, lukasz.langa, Ben.Darnell, Big Stone
2019-06-23 23:32:53yselivanovsetmessageid: <1561332773.0.0.427578129724.issue37373@roundup.psfhosted.org>
2019-06-23 23:32:52yselivanovlinkissue37373 messages
2019-06-23 23:32:52yselivanovcreate