[issue30522] Allow replacing a logging.StreamHandler's stream

2017-07-30 Thread Vinay Sajip
Changes by Vinay Sajip : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue30522] Allow replacing a logging.StreamHandler's stream

2017-07-30 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 2543f50033208c1a8df04999082b11aa09e82a04 by Vinay Sajip in branch 'master': bpo-30522: Implemented a method to allow setting a logging.StreamHander's stream. (GH-2921)

[issue30522] Allow replacing a logging.StreamHandler's stream

2017-07-27 Thread Vinay Sajip
Changes by Vinay Sajip : -- pull_requests: +2975 ___ Python tracker ___ ___

[issue30522] Allow replacing a logging.StreamHandler's stream

2017-07-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Vinay, yes, that sounds fine to me. -- ___ Python tracker ___ ___

[issue30522] Allow replacing a logging.StreamHandler's stream

2017-07-08 Thread Vinay Sajip
Vinay Sajip added the comment: How about this as an API? def setStream(self, stream): """ Sets the StreamHandler's stream to the specified value, if it is different. Returns the old stream, if the stream was changed, or None if it wasn't. """

[issue30522] Allow replacing a logging.StreamHandler's stream

2017-05-31 Thread Antoine Pitrou
Antoine Pitrou added the comment: Oh, yes, sorry. This is about logging. -- title: Allow replacing a StreamHandler's stream -> Allow replacing a logging.StreamHandler's stream ___ Python tracker