[Pyrex] cdef __init__
    Sam Rushing 
    sam-pyrex at rushing.nightmare.com
       
    Tue Mar 27 22:06:35 UTC 2007
    
    
  
Sam Rushing wrote:
> I've just noticed that if your extension class has PyObject slots in it,
> then the new constructor will fail.
> A Py_DECREF() call on the uninitialized slot is the culprit.
>   
Here's an updated version of the patch.
-Sam
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pyrex_init.diff
Url: http://lists.copyleft.no/pipermail/pyrex/attachments/20070327/9368d197/attachment.ksh 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 186 bytes
Desc: OpenPGP digital signature
Url : http://lists.copyleft.no/pipermail/pyrex/attachments/20070327/9368d197/attachment.bin 
    
    
More information about the Pyrex
mailing list