On Mon, Jul 23, 2012 at 4:30 PM, Jeff Harper <[email protected]> wrote: > Thanks for the response. I didn't know there was a newer version > > of stacklesslib. I will definitely give it a try. I had hoped > that by calling the MainLoop.run method, stacklesslib would "get > all the pumping it needs." Here's the code in s.py that calls > MainLoop.run(). > > > if GO_STACKLESS: > stackless.tasklet(do_server)() > app = stacklesslib.main.MainLoop() > app.run() > > Is there something else I need to do to pump the socket module?
Jeff, All the information you needed was in my previous reply :-) ... Go into monkeypatch.py and change will_be_pumped argument passed into patch_socket, to default to False ... If you do that, all the necessary pumping will get done. Cheers, Richard. _______________________________________________ Stackless mailing list [email protected] http://www.stackless.com/mailman/listinfo/stackless
