[issue39893] Add set_terminate() to logging

2020-03-09 Thread Vinay Sajip
Vinay Sajip 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

[issue39893] Add set_terminate() to logging

2020-03-09 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39893] Add set_terminate() to logging

2020-03-09 Thread wyz23x2
Change by wyz23x2 : -- versions: +Python 3.5, Python 3.6, Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue39893] Add set_terminate() to logging

2020-03-07 Thread wyz23x2
wyz23x2 added the comment: typo: "with something else", not "wit something else". Sorry for that. -- ___ Python tracker ___ ___

[issue39893] Add set_terminate() to logging

2020-03-07 Thread wyz23x2
New submission from wyz23x2 : Sometimes, we want to remove the ending \n and sometimes replace it wit something else, like print(). But logging doesn't support that. I'd want a set_terminate() (Or set_end()) function that does that. I think it's easy. Just insert this at line 1119 of __init__