Matt Frank added the comment:

In msg174930 Christian Heimes (christian.heimes) wrote:
> I've tested confstr("CS_PATH") on Linux, Mac OS X, Solaris, HP-UX
> and BSD. It works and the path to `sh` is always included.

In msg230713 Ned Deily(ned.deily) wrote:
> ignore Lib/macpath.py.
> [...]
> OS X uses Lib/posixpath.py.

These two messages have convinced me that the correct approach is to kick the 
can down the road.  I will file a new issue and patch to fix os.defpath (by 
initializing os.defpath by calling confstr("CS_PATH")).  Then I will file a new 
issue and patch that will define a reasonable os.confstr() for platforms where 
HAVE_CONFSTR is not defined.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue16353>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to