[Stackless] Bug fix

Rotem Yaari vmalloc at gmail.com
Wed Aug 15 08:38:27 CEST 2007


Hi,

I just started experimenting with stackless for a project we are running
here at my workplace.

I immediately noticed a bug when trying to run it in a 64-bit environment,
and I have a fix for that problem.

How do these things work with you guys? where is the bug report page???
I think your web page should be clearer on these issues, and contain a
minimal bug tracker/issue tracker...

Index: Stackless/module/stacklessmodule.c
===================================================================
--- Stackless/module/stacklessmodule.c  (revision 57019)
+++ Stackless/module/stacklessmodule.c  (working copy)
@@ -285,7 +285,7 @@
        PyInterpreterState *interp = ts->interp;
        long id = 0;

-       if (!PyArg_ParseTuple(args, "|i:get_thread_info", &id))
+       if (!PyArg_ParseTuple(args, "|l:get_thread_info", &id))
                return NULL;
        for (ts = interp->tstate_head; id && ts != NULL; ts = ts->next) {
                if (ts->thread_id == id)

Thanks,

-- 
Rotem
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stackless.com/pipermail/stackless/attachments/20070815/875d9ca1/attachment.htm>
-------------- next part --------------
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://stackless.com/cgi-bin/mailman/listinfo/stackless


More information about the Stackless mailing list