uvloop icon indicating copy to clipboard operation
uvloop copied to clipboard

Question: does uvloop set stdout to non-blocking?

Open Tinche opened this issue 3 years ago • 1 comments

I'm trying to debug an issue and can't really follow the code in here and over at libuv.

I seem to be getting errors when printing out large amounts of data suggestiong my stdout might be switched to non-blocking mode. Is uvloop doing this, why (is there a parameter to not do it, is there a strong reason not to do it), and is stderr affected as well?

Thanks in advance!

Tinche avatar Jan 14 '22 23:01 Tinche

Could be relevant: we encountered BlockingIOError when using ipython with uvloop. Also saw likewise report here https://github.com/ipython/ipython/issues/12563

liuyu81 avatar Sep 04 '22 13:09 liuyu81