On Sat, Jan 16, 2021 at 2:16 PM Greg Ewing <greg.ew...@canterbury.ac.nz> wrote: > > On 16/01/21 3:37 pm, Chris Angelico wrote: > > Surely it should be the other way around? If you use the C stdio > > streams, flush them after use. > > 1. You might not know that you're (implicitly) using C stdio. > > 2. There doesn't seem to be an easy way to flush C stdio from > Python any more. >
But somewhere along the way, you're finding that there's a problem, which implies that SOMETHING is calling on C stdio. That thing, surely, should be the thing responsible for flushing? ChrisA -- https://mail.python.org/mailman/listinfo/python-list