2011/8/7 Sam Kaufman <[email protected]>:
> Hi.
>
> The following seems to work. Does anybody see any outstanding issues or 
> places I'll soon bump my head?
>
>    import web, eventlet, eventlet.wsgi
>
>    urls = (
>        '/browse', 'browse'
>    )
>    app = web.application(urls, globals())
>
>    class browse:
>        def GET(self):
>            return 'hi'
>
>    if __name__ == "__main__":
>        eventlet.wsgi.server(eventlet.listen(('', 8090)), app.wsgifunc())

web.py is heavily dependent on threadlocal objects. I'm don't think
you can work with eventlet out of the box.

Anand

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to