What is the Global Interpreter Lock?

The Global Interpreter Lock (GIL) is used to protect Python objects from being modified from multiple thre