you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 insightful - 2 fun2 insightful - 1 fun3 insightful - 2 fun -  (2 children)

Python multi threading is a lie: https://realpython.com/python-gil/ You need multi-processing instead. (maybe it is a good fit for I/O bound tasks, maybe like web requests)

[–]fschmidt[S] 2 insightful - 1 fun2 insightful - 0 fun3 insightful - 1 fun -  (1 child)

I see, so Python threads are really coroutines, right? That still works okay in this case.

[–][deleted] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 1 fun -  (0 children)

yep, that sounds right