[Stackless] Fwd: deepcopying (pickling) channels

Richard Tew richard.m.tew at gmail.com
Mon Oct 14 21:04:37 CEST 2013


If you use the stackless socket module, it can make blocking functions
like network access stackless compatible.  That means they block the
tasklet rather than the thread, and you don't necessarily need to call
schedule.

stacklesslib provides monkey patching for the socket module and a
range of others.

It might help you out.

This is a very old example from when the stackless socket module was standalone:

https://mail.python.org/pipermail/python-announce-list/2006-September/005252.html

Nowadays you'd want to obtain stacklesslib and import that rather than
stacklesssocket.

Richard.



More information about the Stackless mailing list