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 ideasman42
Recipients georg.brandl, ideasman42
Date 2009-09-15.03:31:18
SpamBayes Score 1.1136927e-05
Marked as misclassified No
Message-id <1252985481.54.0.861262446626.issue6913@psf.upfronthosting.co.za>
In-reply-to
Content
Py_SetPythonHome takes a *wchar_t not a *char, this is obvious from
looking at the header,

However I tried using this function and couldn't get it working until I
made the home variable a static string.

when looking at the source this is obvious, but should be documented...

void
Py_SetPythonHome(wchar_t *home)
{
	default_home = home;
}
History
Date User Action Args
2009-09-15 03:31:21ideasman42setrecipients: + ideasman42, georg.brandl
2009-09-15 03:31:21ideasman42setmessageid: <1252985481.54.0.861262446626.issue6913@psf.upfronthosting.co.za>
2009-09-15 03:31:19ideasman42linkissue6913 messages
2009-09-15 03:31:19ideasman42create