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

Trivial implementation of the async PEP backend #22

Open
lvh opened this issue Jun 23, 2011 · 3 comments
Open

Trivial implementation of the async PEP backend #22

lvh opened this issue Jun 23, 2011 · 3 comments
Assignees

Comments

@lvh
Copy link
Owner

lvh commented Jun 23, 2011

This actually belongs in the async module because it should eventually go into the stdlib as the lowest common denominator implementation.

It should be able to run the protocol described in #21.

@ghost ghost assigned fmayer Jun 23, 2011
@jerub
Copy link
Collaborator

jerub commented Jun 25, 2011

22:04 < Jerub> exarkun: it's an idea that was discussed, including a mainloop implementation that
supports async-pep style protocols in stdlib.
22:04 < Jerub> i don't know if it's worth doing, i'd appreciate input
22:06 < exarkun> There should be a way for people to use protocols that follow the pep using just the standard
library.
22:07 < Jerub> yeah, okay, that's what our reasoning was.
22:07 < exarkun> The equivalent of wsgiref
22:07 < Jerub> one idea was to do it using asyncore, another was to just implement it with poll/select or
something.
22:07 < exarkun> It should probably be based on asyncore
22:07 < Jerub> probably end up being a cut+paste from pollreactor or selectreactor or something if we didnt'
use asyncore.

@fmayer
Copy link
Collaborator

fmayer commented Jun 25, 2011

I'm -1 on asyncore.

@hynek
Copy link
Contributor

hynek commented Jun 26, 2011

I wonder about the implications. Using asyncore sounds like technical debt.

Is it to be expected that we'd have to rewrite it several times anyway before being merged? Then it might be a good idea to go the fastest way.

Otherwise a self-contained, clean implementation from the beginning on sounds more appealing to me.

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