[Stackless] Fixing tasklet's raise_exception()

Jon Parise jon at indelible.org
Wed Oct 21 08:02:47 CEST 2009


raise_exception() was using METH_KEYWORDS without METH_VARARGS, which,
in the py3k line at least, appears to be an invalid calling
convention.  The method itself is defined to expect a tuple of args,
which implies it should really be defined as METH_VARARGS.

The attached patch (to the py3k branch) corrects this.

-- 
Jon Parise (jon of indelible.org)  ::  "Scientia potentia est"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tasklet_raise_exception.patch
Type: application/octet-stream
Size: 800 bytes
Desc: not available
URL: <http://www.stackless.com/pipermail/stackless/attachments/20091020/bd774494/attachment.obj>


More information about the Stackless mailing list