May 2021
Intermediate to advanced
142 pages
3h 37m
English
In this chapter, you learned about threads and processes, the concurrent.futures module, the global interpreter lock, and even touched on the relatively new asyncio module. You now have a good working mental model of how concurrency works in Python should you choose that your code needs concurrency.
Now that we have a good understanding of Python’s fundamentals, we can look at common traps Python programs get caught in and how to avoid them.