[Stackless] stackless.run() returns tuple????
Christian Tismer
tismer at stackless.com
Sun Jul 15 22:29:08 CEST 2007
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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20070715/f986d773/attachment.htm>
-------------- next part --------------
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless
More information about the Stackless
mailing list