Message233081
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...". |
|
Date |
User |
Action |
Args |
2014-12-24 16:22:53 | snoeberger | set | recipients:
+ snoeberger, docs@python |
2014-12-24 16:22:53 | snoeberger | set | messageid: <1419438173.5.0.679263724855.issue23110@psf.upfronthosting.co.za> |
2014-12-24 16:22:53 | snoeberger | link | issue23110 messages |
2014-12-24 16:22:52 | snoeberger | create | |
|