tauthon
tauthon copied to clipboard
Port asyncio package
Needs #11
Needs #17
And windows support blocked by #16
This should wait until more language features are backported.
I think that would be a great addition! Great work so far Naftali!!
What is missing for this?
@ysangkok, it seems that what's missing is that on win32 Lib/selectors.py
only uses Modules/selectmodule.c
which is win32's select. Win32's select only works on sockets and not a HANDLE (the fd on Windows) . A fix might be to implement WaitForSingleObject
or WaitForMultipleObjects
in PC/msvcrtmodule.c
and then add usage of that to Lib/selectors.py
.
Is there any interest in this? Doing the C for it won't be hard at all, but I don't use asyncio
. So, if I implemented it, I'd need someone to help w/ the library updates or perhaps to tinker w/ it.
When I originally asked this, we hadn't ported to Python 3. But now we have (with no backwards compatibility), so I can't test this.
@ysangkok, gotcha. no worries then.