Message227103
> This means in the worst case there is currently no official way to get this output before it writes a newline?
The behaviour of stdout/stderr is defined in the C library, see setvbuf() manual for more information. I don't know a generic way to change the default buffering without modifying the application (or the LD_PRELOAD hack).
> I will try later if I can successfully compile Python with this hack.
You don't need to compile Python. Just compile nobuffer.c to libnobuffer.so. See the "documentation" in nobuffer.c. |
|
Date |
User |
Action |
Args |
2014-09-19 14:41:05 | vstinner | set | recipients:
+ vstinner, Sworddragon |
2014-09-19 14:41:05 | vstinner | set | messageid: <1411137665.39.0.14837395544.issue22443@psf.upfronthosting.co.za> |
2014-09-19 14:41:05 | vstinner | link | issue22443 messages |
2014-09-19 14:41:05 | vstinner | create | |
|