Exploring terminfo

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Jan 15 21:31:23 EST 2021


On 16/01/21 7:33 am, Grant Edwards wrote:
> Starting in Python 3.<something>, python's stdio file objects are _not_
> on top of the libc FILE streams: they're directly on top of the file
> descriptor.

This sounds like rather a bad situation, because it means that
any C library using stdio is going to interact badly with Python
stdio.

Can something be done about this? Maybe Python stdio objects
should flush all the C stdio streams before writing anything?

-- 
Greg


More information about the Python-list mailing list