tauthon icon indicating copy to clipboard operation
tauthon copied to clipboard

Port asyncio package

Open naftaliharris opened this issue 8 years ago • 9 comments

naftaliharris avatar Oct 31 '16 18:10 naftaliharris

Needs #11

naftaliharris avatar Oct 31 '16 18:10 naftaliharris

Needs #17

And windows support blocked by #16

naftaliharris avatar Nov 04 '16 19:11 naftaliharris

This should wait until more language features are backported.

naftaliharris avatar Nov 30 '16 17:11 naftaliharris

I think that would be a great addition! Great work so far Naftali!!

syrusakbary avatar Dec 10 '16 19:12 syrusakbary

What is missing for this?

ysangkok avatar Jul 18 '17 19:07 ysangkok

@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.

arizvisa avatar Aug 31 '19 22:08 arizvisa

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.

arizvisa avatar Sep 23 '19 21:09 arizvisa

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 avatar Sep 23 '19 22:09 ysangkok

@ysangkok, gotcha. no worries then.

arizvisa avatar Sep 24 '19 02:09 arizvisa