Roundup Robot added the comment:
New changeset 2d150c01bf7e by Georg Brandl in branch '3.4':
Closes #21687: delimiter in Py_SetPath is platform dependent
https://hg.python.org/cpython/rev/2d150c01bf7e
--
nosy: +python-dev
resolution: -> fixed
stage: -> resolved
status: open -> closed
eryksun added the comment:
A Windows path uses ":" after the drive letter, e.g. "C:\\Windows", so the
delimiter is a semicolon on Windows. Other platforms use a colon.
CPython uses DELIM, which is defined in osdefs.h. This header isn't included by
Python.h.
http://hg.python.org/cpython/file/c
New submission from Florian Walch:
The documentation for Py_SetPath [1] states:
> The path components should be separated by semicolons.
I believe this should not say "semicolons", but "colons"; the default path as
output by Py_GetPath is separated by colons.
[1] https://docs.python.org/3/c-a