Message220738
Here is a different but similar patch for _syscmd_uname():
- use os.fsdecode() to use the locale encoding instead of latin-1
- use subprocess.DEVNULL to redirect errors to /dev/null
- use "with proc:" to ensure that the subprocesss is cleaned in case of error |
|
Date |
User |
Action |
Args |
2014-06-16 16:29:33 | vstinner | set | recipients:
+ vstinner, lemburg, Tor.Colvin |
2014-06-16 16:29:33 | vstinner | set | messageid: <1402936173.04.0.940542897313.issue21772@psf.upfronthosting.co.za> |
2014-06-16 16:29:33 | vstinner | link | issue21772 messages |
2014-06-16 16:29:32 | vstinner | create | |
|