Re: [Stackless] porting from python-multitask to stackless

2010-04-16 Thread Ghulam Mustafa
010 18:56:34 +0500 >> From: Ghulam Mustafa >> To: [email protected] >> Subject: [Stackless] porting from python-multitask to >> stackless >> Message-ID: >>     >> Content-Type: text/plain; charset=UTF-8 > >> i am going to port a piece of cod

Re: [Stackless] porting from python-multitask to stackless

2010-04-16 Thread Andrew Francis
Hi Mustafa: > Message: 1 > Date: Thu, 15 Apr 2010 18:56:34 +0500 > From: Ghulam Mustafa > To: [email protected] > Subject: [Stackless] porting from python-multitask to > stackless > Message-ID: >     > Content-Type: text/plain; charset=UTF-8 > i am goin

[Stackless] porting from python-multitask to stackless

2010-04-15 Thread Ghulam Mustafa
Hi, i am going to port a piece of code from python-multitask to stackless, since i am new to python can someone help me understand how can i port following simple example to stackless python. def listener(sock): while True: conn, address = (yield multitask.accept(sock)) m