Message131317
Furthermore I would propose to rename this issue: The problem is not that Py_SetPath cannot be called on pointer returned by Py_GetPath. I think that the problem is more general: Calling Py_SetPath NEVER works.
--> I get the same exception as documented in my initial post when calling Py_SetPyth like this:
Py_SetPath(L"/usr/labsolution/python32/lib/python3.2/");
or like this:
wchar_t * path;
path = malloc(128 * sizeof(wchar_t));
wcscpy(path,L"/usr/labsolution/python32/lib/python3.2/");
Py_SetPath(path); |
|
Date |
User |
Action |
Args |
2011-03-18 07:58:53 | palm.kevin | set | recipients:
+ palm.kevin, barry, ncoghlan, pitrou, vstinner, tarek, srid |
2011-03-18 07:58:53 | palm.kevin | set | messageid: <1300435133.72.0.95915692917.issue11320@psf.upfronthosting.co.za> |
2011-03-18 07:58:53 | palm.kevin | link | issue11320 messages |
2011-03-18 07:58:52 | palm.kevin | create | |
|