commit | 8dee809410e2d433bb0be5d8a1699736b90db0b5 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Tue Sep 25 20:05:11 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Tue Sep 25 20:05:11 2001 +0000 |
tree | 896e67b420b872b782084d70b44d957471678139 | |
parent | 698acf98fdafd14b1b5ad380e3c56b31ab33a229 [diff] |
Guido points out that sys.__stdout__ is a bit bucket under IDLE. So keep the local save/modify/restore of sys.stdout, but add machinery so that regrtest can tell test_support the value of sys.stdout at the time regrtest.main() started, and test_support can pass that out later to anyone who needs a "visible" stdout.