1. Thread Locals in Python: Mostly easy

    Thread locals are an interesting idea: a way to give each thread its own storage, useful for global state that you don't want to share between threads.

    The obvious caveat is that threadlocals are still effectively global (for the current thread), and like all global state, should be treated with …

Page 1 / 1