Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:
There's no need for a method to do this. You can do any of: 1. Set the terminator attribute to whatever you need in logging.StreamHandler (if all code you ever use must use a different terminator). 2. Set it in individual instances of StreamHandler. 3. Set it in a subclass of StreamHandler which you then use instead of StreamHandler. Since only a few cases will want a different terminator, there's no need to add a special mechanism to override it, when you can just use an assignment statement. ---------- resolution: -> rejected stage: -> resolved status: open -> closed versions: -Python 3.5, Python 3.6, Python 3.7, Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39893> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com