Message226774
redirect_stdout is almost exactly what I want, except I want to redirect stderr! redirect_stdout.__init__() should take a 'stream_name' argument (possibly keyword-only) which could be set to 'stderr'. I propose it's implemented as setattr(sys, stream_name, new_target) |
|
Date |
User |
Action |
Args |
2014-09-11 14:25:13 | barry | set | recipients:
+ barry |
2014-09-11 14:25:13 | barry | set | messageid: <1410445513.66.0.871890162607.issue22389@psf.upfronthosting.co.za> |
2014-09-11 14:25:13 | barry | link | issue22389 messages |
2014-09-11 14:25:13 | barry | create | |
|