[New-bugs-announce] [issue30522] Allow replacing a StreamHandler's stream
report at bugs.python.org
Wed May 31 04:09:10 EDT 2017
New submission from Antoine Pitrou:
Right now it is probably possible using something like:
handler.stream = new_stream
but it would be nice to have an officially-supported method to do that.
Context: if I reconfigure sys.stderr, I'd like to update all handlers that have a reference to the old sys.stderr.
nosy: pitrou, vinay.sajip
title: Allow replacing a StreamHandler's stream
versions: Python 3.7
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce