On 17/01/21 12:40 pm, Chris Angelico wrote:
This is true. However, at some point, the boundary is crossed from Python into the C library. Something, at that point, knows. It's very common to have a flush option available, so it should be used.
I'm wondering whether the problem in this particular case stems from trying to use parts of curses without initialising it properly. I expect that initialising curses would put stdout into some kind of unbuffered mode, and the rest of it assumes that this has been done. -- Greg -- https://mail.python.org/mailman/listinfo/python-list