What are some examples of thread-unsafe Python code?
<p>What are some examples of Python code that is not safe to run in a threaded environment? Examples need not be framework-related -- simple Python examples and caveats are preferred. Thanks!</p>
