[issue21687] Py_SetPath: Path components separated by colons

2014-10-11 Thread Roundup Robot

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

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21687
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21687] Py_SetPath: Path components separated by colons

2014-06-07 Thread Florian Walch

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-api/init.html#c.Py_SetPath

--
assignee: docs@python
components: Documentation
messages: 219944
nosy: docs@python, fwalch
priority: normal
severity: normal
status: open
title: Py_SetPath: Path components separated by colons
type: behavior
versions: Python 3.2, Python 3.3, Python 3.4, Python 3.5

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21687
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue21687] Py_SetPath: Path components separated by colons

2014-06-07 Thread eryksun

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/c0e311e010fc/Include/osdefs.h

--
nosy: +eryksun

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21687
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com