Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port asyncio package #10

Open
naftaliharris opened this issue Oct 31, 2016 · 9 comments
Open

Port asyncio package #10

naftaliharris opened this issue Oct 31, 2016 · 9 comments

Comments

@naftaliharris
Copy link
Owner

No description provided.

@naftaliharris
Copy link
Owner Author

Needs #11

@naftaliharris
Copy link
Owner Author

Needs #17

And windows support blocked by #16

@naftaliharris
Copy link
Owner Author

This should wait until more language features are backported.

@syrusakbary
Copy link

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

@ysangkok
Copy link

What is missing for this?

@arizvisa
Copy link
Contributor

@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
Copy link
Contributor

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.

@ysangkok
Copy link

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.

@arizvisa
Copy link
Contributor

@ysangkok, gotcha. no worries then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants