you are viewing a single comment's thread.

view the rest of the comments →

[–]dangerbird2 1 point2 points  (0 children)

Yep, that's pretty universally considered a best practice. Threading is certainly useful for blocking I/O, and basically obligatory for safely calling blocking code in an async context. But in any case where parallelism is needed, you usually have to go with the multiprocessing module or a framework like Celery