[docs] [issue23110] Document if argument to Py_SetPath requires static storage.

Robert Snoeberger report at bugs.python.org
Wed Dec 24 17:22:53 CET 2014


New submission from Robert Snoeberger:

The documentation for the Py_SetPath API does not indicate if the argument should point to a wide character array in static storage. However, the documentation for Py_GetPath says, "The returned string points into static storage; the caller should not modify its value." This leads me to believe that static storage is required for Py_SetPath.

The documentation for similar API functions, Py_SetPythonHome and Py_SetProgramName, indicates, "The argument should point to a zero-terminated wide character string in static storage whose contents will not change...".

----------
assignee: docs at python
components: Documentation
messages: 233081
nosy: docs at python, snoeberger
priority: normal
severity: normal
status: open
title: Document if argument to Py_SetPath requires static storage.
type: enhancement
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23110>
_______________________________________


More information about the docs mailing list