This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2014年12月24日 16:22 by snoeberger, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg233081 - (view) | Author: Robert Snoeberger (snoeberger) | Date: 2014年12月24日 16:22 | |
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...". |
|||
| msg233082 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2014年12月24日 16:51 | |
New changeset 08972a47f710 by Benjamin Peterson in branch '3.4': doucment that Py_SetPath copies its argument (closes #23110) https://hg.python.org/cpython/rev/08972a47f710 New changeset edf4ea3cfe68 by Benjamin Peterson in branch 'default': merge 3.4 (#23110) https://hg.python.org/cpython/rev/edf4ea3cfe68 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:11 | admin | set | github: 67299 |
| 2014年12月24日 16:51:20 | python-dev | set | status: open -> closed nosy: + python-dev messages: + msg233082 resolution: fixed stage: resolved |
| 2014年12月24日 16:22:53 | snoeberger | create | |