[Stackless] stackless.run() returns tuple????
sijben at eemvalley.com
Mon Jul 16 07:54:03 CEST 2007
under which conditions is run supposed to exit?
Christian Tismer wrote:
> On 15.07.2007, at 11:13, Paul Sijben wrote:
>> I will send some sample code when I reproduce it reliably in a testscript.
>> However what I am seeing is that val=stackless.run() at some random
>> point terminates and then val contains: (a float,(1,))
>> This is the format I use in the channels I use as queues, the float is
>> the result of calling time.time()
> As I see it in stacklessmodule.c:242 there might be a bug in run,
> no idea yet why it is there.
> err = retval == NULL;
> Run should return None or the interrupted tasklet if a timeout was
> given. In no case what you got. I need to look a bit...
> ciao -- chris
> Christian Tismer :^) <mailto:tismer at stackless.com>
> tismerysoft GmbH : Have a break! Take a ride on Python's
> Johannes-Niemeyer-Weg 9A : *Starship* http://starship.python.net/
> 14109 Berlin : PGP key -> http://wwwkeys.pgp.net/
> work +49 30 802 86 56 mobile +49 173 24 18 776 fax +49 30 80 90 57 05
> PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
> whom do you want to sponsor today? http://www.stackless.com/
Stackless mailing list
Stackless at stackless.com
More information about the Stackless