Tagged Questions
0
votes
1answer
98 views
Possible memory leaks
Could someone check if there is an memory leak? I am confused.
PyObject * somefunc(int function_id, int num_params, int * params){
PyObject * params_list=PyList_New(0);
for(int i=0; i ...
0
votes
2answers
169 views
Limiting the features of an embedded python instance
Is there a way to limit the abilities of python scripts running under an embedded interpretor? Specifically I wish to prevent the scripts from doing things like the following:
Importing python ...