[Python-ideas] Portable Continuations in Python

Nick Coghlan ncoghlan at gmail.com
Sun Dec 4 02:16:48 CET 2011

On Sun, Dec 4, 2011 at 5:12 AM, Anoop Thomas Mathew <atmb4u at gmail.com> wrote:
> Hi All,
> I was wondering whether we can have a feature like, portable continuations
> (as present in Scala 2.8) is possible in Python. It is a feature, by which
> executions can be stopped in between, and transferred to another computer
> and resume the process. This is a standard feature in scala 2.8. Something
> similar is present in Stackless Python, but it doesn't support 'Portable'. I
> am not sure how can we do that. But, if it is possible, and if some one can
> throw some light how to achieve that, I am ready to volunteer to dig deeper.

Hi Anoop,

Take a look at the 'greenlets' extension module (which has the same
portability limitations as Stackless, since that's where it came
from), the 'cofunctions' PEP (PEP 3152), and the extensive discussions
regarding the latter in the archives of this list.


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-ideas mailing list