Message 148714 - Python tracker (original) (raw)

-> void* handle = dlopen("/usr/local/lib/python2.7/lib-dynload/time.so", 2); this code can work well,but when the code run to : PyRun_SimpleString("from time import time,ctime\nprint 'Today is',ctime(time())\n");

it dumped, i think it make be because of there are two python handle running,one is main thread ,anthother is the time.so.