Message224477
| Author |
serhiy.storchaka |
| Recipients |
asvetlov, chris.jerdonek, christian.heimes, eric.araujo, ezio.melotti, gregory.p.smith, lyapun, neologix, pitrou, r.david.murray, serhiy.storchaka |
| Date |
2014年08月01日.09:31:16 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1406885476.38.0.77572952799.issue16353@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Should it be function? Why not use just a variable initialized at import time? The path to the default shell shouldn't change during the time of program execution.
if sys.platform == 'win32':
default_shell = 'cmd.exe'
else:
default_shell = '/bin/sh' |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年08月01日 09:31:16 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gregory.p.smith, pitrou, christian.heimes, ezio.melotti, eric.araujo, r.david.murray, asvetlov, chris.jerdonek, neologix, lyapun |
| 2014年08月01日 09:31:16 | serhiy.storchaka | set | messageid: <1406885476.38.0.77572952799.issue16353@psf.upfronthosting.co.za> |
| 2014年08月01日 09:31:16 | serhiy.storchaka | link | issue16353 messages |
| 2014年08月01日 09:31:16 | serhiy.storchaka | create |
|