homepage

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 christian.heimes
Recipients asvetlov, chris.jerdonek, christian.heimes, eric.araujo, ezio.melotti, gregory.p.smith, lyapun, neologix, pitrou, r.david.murray, tim.golden
Date 2012年11月05日.19:16:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352142997.24.0.670521460539.issue16353@psf.upfronthosting.co.za>
In-reply-to
Content
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.
Taras:
You don't have to perform the platform inside the get_shell() function. I suggest that you define the function depending on the value of `name`.
if name == "posix":
 def get_shell():
 ...
elif name in {"nt", "ce"}:
 def get_shell():
 ...
History
Date User Action Args
2012年11月05日 19:16:37christian.heimessetrecipients: + christian.heimes, gregory.p.smith, pitrou, tim.golden, ezio.melotti, eric.araujo, r.david.murray, asvetlov, chris.jerdonek, neologix, lyapun
2012年11月05日 19:16:37christian.heimessetmessageid: <1352142997.24.0.670521460539.issue16353@psf.upfronthosting.co.za>
2012年11月05日 19:16:37christian.heimeslinkissue16353 messages
2012年11月05日 19:16:37christian.heimescreate

AltStyle によって変換されたページ (->オリジナル) /