[issue10743] 3.2's sysconfig doesn't work with virtualenv
Palm Kevin
report at bugs.python.org
Fri Feb 25 14:58:46 CET 2011
Palm Kevin <kevin.palm at labsolution.lu> added the comment:
Please find here a small C app embedding python that shows how to reproduce the problem (It turned out that the problem is caused by the new method "Py_SetPath"):
#include "Python.h"
main(int argc, char **argv)
{
Py_SetPath(Py_GetPath());
printf("Init\n");
Py_Initialize();
printf("-- END\n");
}
--> Python crashes on Py_Initialize... only if the Py_SetPath is executed...
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10743>
_______________________________________
More information about the Python-bugs-list
mailing list