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.

Author WanderingLogic
Recipients WanderingLogic, akira, asvetlov, chris.jerdonek, christian.heimes, eric.araujo, eryksun, ezio.melotti, gregory.p.smith, lyapun, ned.deily, neologix, pitrou, r.david.murray, serhiy.storchaka
Date 2014-11-06.16:54:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1415292869.44.0.690170855157.issue16353@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-11-06 16:54:29WanderingLogicsetrecipients: + WanderingLogic, gregory.p.smith, pitrou, christian.heimes, ned.deily, ezio.melotti, eric.araujo, r.david.murray, asvetlov, chris.jerdonek, neologix, akira, serhiy.storchaka, eryksun, lyapun
2014-11-06 16:54:29WanderingLogicsetmessageid: <1415292869.44.0.690170855157.issue16353@psf.upfronthosting.co.za>
2014-11-06 16:54:29WanderingLogiclinkissue16353 messages
2014-11-06 16:54:29WanderingLogiccreate