[issue43759] StreamHandler does not print to sys.stderr immediately
New submission from Nguyen Thai Binh : When logger.exception() is called in a `catch` clause, it never logs to sys.stderr immediately. Sometimes it only outputs when the program almost finishes. I don't know how to reproduce as it is occasional. Attached is the logging configuration f
[issue43759] StreamHandler does not print to sys.stderr immediately
Nguyen Thai Binh added the comment: I have managed to solve this by flushing the buffer. So issue closed. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or