[GRASS-dev] Python and delayed or missing stderr output

Markus Neteler neteler at osgeo.org
Wed Sep 5 01:43:23 PDT 2018


Hi,

AFAIK Python buffers (i.e. effectively delays)  stderr output which is
unhelpful in the GRASS GIS context.

Searching for a solution, I found this reference: sys.stdout.flush()
e.g.
https://stackoverflow.com/questions/10019456/usage-of-sys-stdout-flush-method

Would it be possible to add that to the GRASS GIS Python API?

thanks,
markusN


More information about the grass-dev mailing list