Merged from trunk -r14969:14975
| 14970 | Don't assign f to sys.stderr inside EOutput._write(). |
| zmedico | |
| 14971 | When temporarily replacing the sys.std* streams, use the |
| zmedico | normal open() func in python3 so that we get the right class |
| | (otherwise our code that expects the 'buffer' attribute will |
| | break). |
| 14972 | Use ImportError handling to import _TextTestResult which |
| zmedico | moved from unittest to unittest.runner in python-2.7. Thanks |
| | to Arfrever for the suggestion. |
| 14973 | Fix handling for TEMP, TMP, and TMPDIR variables: * Add to |
| zmedico | whitelist so current values are always used. * Always filter |
| | them from the saved environment. * Always add thier values |
| | to SANDBOX_WRITE. |
| 14974 | When overridding sys.std* in python2, use binary streams. |
| zmedico | |
| 14975 | Add localization variables (LANG and LC_*) to the |
| zmedico | environment whitelist and filter them from the saved |
| | environment (so user settings override those of binary |
| | packages). Thanks to Fabio Erculiani <lxnay@g.o> for |
| | reporting. |
svn path=/main/branches/prefix/; revision=14977