logoalt Hacker News

ikanreed • 11/19/2024 • 1 reply • view on HN

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


Replies

mananaysiempre • 11/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.)