Python

This page contains random notes and pieces of knowledge on Python.

Remember the GIL

Python has a global interpreter lock, the GIL. Good info is at http://www.dabeaz.com/python/GIL.pdf. So, no true multi-threading in Python. Only one thread on silicon at a time. Overhead of GIL in mutli-threaded code can be significant. Use an event loop instead. Sad pandra.

Useful Tools