Palm Kevin <kevin.p...@labsolution.lu> added the comment: 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); ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11320> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com