GIL or PIL?

Created: Dec. 5, 2014 Updated: Sept. 29, 2026

The recruitment ended in success, but there was one question where for a moment we were talking about two different things.

In a few days I start a new job, but I'll remember one question from the interview for a long time: I was asked about the GIL.

In my current job I happen to be writing something that has a lot to do with image processing, so PIL lit up in my head straight away and that's how I understood it at first. There was a moment of confusion, on both sides, because my answer and their question somehow didn't fit together, but after a moment it got cleared up.

For the record, the GIL is the Global Interpreter Lock, the lock that makes only one thread execute Python code at a time in CPython, and PIL is the Python Imaging Library, a library for images.

Since then, whenever I hear a three-letter abbreviation, I first check that I heard it right :-)

#rekrutacja #python #humor

Machine-translated from Polish (original).