Issue 6913: Py_SetPythonHome incorrectly documented py3.x (rev 74792) (original) (raw)

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; }