New submission from Campbell Barton <ideasma...@gmail.com>: 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; } ---------- assignee: georg.brandl components: Documentation files: Py_SetPythonHome_doc.diff keywords: patch messages: 92640 nosy: georg.brandl, ideasman42 severity: normal status: open title: Py_SetPythonHome incorrectly documented py3.x (rev 74792) type: behavior versions: Python 3.2 Added file: http://bugs.python.org/file14891/Py_SetPythonHome_doc.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6913> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com