Exploring terminfo

Chris Angelico rosuav at gmail.com
Fri Jan 15 22:17:51 EST 2021


On Sat, Jan 16, 2021 at 2:16 PM Greg Ewing <greg.ewing at 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


More information about the Python-list mailing list