[New-bugs-announce] [issue6913] Py_SetPythonHome incorrectly documented py3.x (rev 74792)

Campbell Barton report at bugs.python.org
Tue Sep 15 05:31:21 CEST 2009


New submission from Campbell Barton <ideasman42 at 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 <report at bugs.python.org>
<http://bugs.python.org/issue6913>
_______________________________________


More information about the New-bugs-announce mailing list