logoalt Hacker News

ikanreed11/19/20241 replyview on HN

Could it then be resolved by using the no-gil version of python they just released?


Replies

mananaysiempre11/19/2024

I’m not sure what your reasoning is, but note that blocking I/O including print() releases the GIL. (So your seemingly innocent debugging print can be extremely not harmless under the wrong circumstances.)