2009/9/11 Anand Chitipothu <[email protected]>: > 2009/9/11 Aaron Swartz <[email protected]>: >> >> Bret Taylor's written his second web.py clone (his first was Google >> App Engine's webapp). Does someone want to see if they can port web.py >> to talk to his nonblocking webserver: > > It doesn't look like it is an easy job. Tornado is a single-threaded > server works by not maintaining any global state. web.py is designed > for multi-threaded systems and maintains global state as thread-local. > The convenience of web.ctx is limiting us from using Tornado.
I managed to hack tornado to run web.py applications. It runs helloworld successfully now. http://github.com/anandology/sandbox/blob/master/webtornado.py 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 -~----------~----~----~----~------~----~------~--~---
