This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mkp
Recipients mkp, theller, warlock
Date 2009-09-12.22:12:00
SpamBayes Score 1.5191104e-05
Marked as misclassified No
Message-id <1252793523.0.0.80912778029.issue6869@psf.upfronthosting.co.za>
In-reply-to
Content
on python2.5 / mac os x 10.5.7:

$ cat main.c
#include <stdio.h>
#include <python.h>

int main()
{
    int i;
    for (i=0; i<10; i++)
    {
        printf("--- %d ---\n", i);
        Py_Initialize();
        PyRun_SimpleString("import ctypes");
        Py_Finalize();
    }
    return 0;
}

$ gcc -I/usr/include/python2.5/ -L/usr/lib/python2.5/ -lpython main.c
$ ./a.out 
--- 0 ---
--- 1 ---
--- 2 ---
--- 3 ---
Assertion failed: (type->tp_flags & Py_TPFLAGS_HEAPTYPE), function 
type_dealloc, file Objects/typeobject.c, line 2148.
Abort trap
$ uname -mprsv
Darwin 9.7.0 Darwin Kernel Version 9.7.0: Tue Mar 31 22:52:17 PDT 2009; 
root:xnu-1228.12.14~1/RELEASE_I386 i386 i386
History
Date User Action Args
2009-09-12 22:12:03mkpsetrecipients: + mkp, theller, warlock
2009-09-12 22:12:03mkpsetmessageid: <1252793523.0.0.80912778029.issue6869@psf.upfronthosting.co.za>
2009-09-12 22:12:00mkplinkissue6869 messages
2009-09-12 22:12:00mkpcreate