This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author palm.kevin
Recipients barry, ncoghlan, palm.kevin, pitrou, srid, tarek, vstinner
Date 2011-03-18.07:58:52
SpamBayes Score 3.9649862e-07
Marked as misclassified No
Message-id <1300435133.72.0.95915692917.issue11320@psf.upfronthosting.co.za>
In-reply-to
Content
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);
History
Date User Action Args
2011-03-18 07:58:53palm.kevinsetrecipients: + palm.kevin, barry, ncoghlan, pitrou, vstinner, tarek, srid
2011-03-18 07:58:53palm.kevinsetmessageid: <1300435133.72.0.95915692917.issue11320@psf.upfronthosting.co.za>
2011-03-18 07:58:53palm.kevinlinkissue11320 messages
2011-03-18 07:58:52palm.kevincreate