Message174652
The os module can't import shutil as it would create a circular import. Also shutil.which() does lots of stat calls and we don't want additional stat calls in a core module like os. My implementation requires just one stat() call.
COMSPEC can point to an alternative command implementation. That's the point of COMSPEC. Perhaps some people remember 4DOS and 4NT. |
|
Date |
User |
Action |
Args |
2012-11-03 17:07:43 | christian.heimes | set | recipients:
+ christian.heimes, gregory.p.smith, pitrou, tim.golden, ezio.melotti, r.david.murray, asvetlov, chris.jerdonek, neologix, lyapun |
2012-11-03 17:07:43 | christian.heimes | set | messageid: <1351962463.91.0.54147044821.issue16353@psf.upfronthosting.co.za> |
2012-11-03 17:07:43 | christian.heimes | link | issue16353 messages |
2012-11-03 17:07:43 | christian.heimes | create | |
|