Message193575
It would be nice if this context manager had an option to redirect the file descriptor 0 rather than just sys.stdout. (For those familiar with py.test, I am asking for an equivalent of --capture=fd functionality.)
Unlike patching sys.stdout, which is within reach to most python users, redirecting fd 0 (and restoring it) is not a trivial task. |
|
Date |
User |
Action |
Args |
2013-07-23 00:51:17 | belopolsky | set | recipients:
+ belopolsky, barry, rhettinger, ncoghlan, pitrou, vstinner, ezio.melotti, alex, nikratio, Marc.Abramowitz |
2013-07-23 00:51:17 | belopolsky | set | messageid: <1374540677.32.0.590693158749.issue15805@psf.upfronthosting.co.za> |
2013-07-23 00:51:17 | belopolsky | link | issue15805 messages |
2013-07-23 00:51:16 | belopolsky | create | |
|