Message220738
| Author |
vstinner |
| Recipients |
Tor.Colvin, lemburg, vstinner |
| Date |
2014年06月16日.16:29:32 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1402936173.04.0.940542897313.issue21772@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|
History
|
|---|
| 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 |
|