At least in Chapter 19 (did not check the other chapters) most code examples are not included correctly. Instead there is a message box like ".. literalinclude:: src/chapter19/threadsafety.py"