[Stackless] Sockets

Richard Tew richard.m.tew at gmail.com
Thu Mar 29 11:36:33 CEST 2007

On 3/29/07, Rod <userprogoogle-139 at yahoo.co.uk> wrote:
> I am new to the Stackless way of things but overall so far so good. However
> I am trying to write a programme which uses sockets and so far have had no
> luck. I keep receiving errors. Also I have tried running the mud.py example
> which is no the wiki and again I receive errors, a copy of which I have put
> below. I am using Python 2.4 and stackess 3.1b3 - Win XP. I have also
> downloaded the stacklesssocket library and have been using that. Any advice
> on using sockets will be gratefully received as I am at a loss to know why
> my old sockets model (which worked fine without stackless), which I ported
> to Stackless no longer works. Also is there any particular reason why no
> sockets code I try (even from stackless.com) works?

The stacklesssocket module is only tested with Python 2.5, it may need
some compatibility changes to work with Python 2.4.  Anything you use
whether existing examples or your own code will fail until this is done.

Hope that helps,

Stackless mailing list
Stackless at stackless.com

More information about the Stackless mailing list