This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barry
Recipients barry
Date 2014-09-11.14:25:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1410445513.66.0.871890162607.issue22389@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2014-09-11 14:25:13barrysetrecipients: + barry
2014-09-11 14:25:13barrysetmessageid: <1410445513.66.0.871890162607.issue22389@psf.upfronthosting.co.za>
2014-09-11 14:25:13barrylinkissue22389 messages
2014-09-11 14:25:13barrycreate