Language Behavior
Understand Python's synchronous, interpreted nature.
Python code is executed line by line by an interpreter. This is different from compiled languages (like C++) where the entire code is converted to machine code before running.
By default, Python executes one command at a time, in order. It waits for each operation to finish before moving to the next. For web servers, this has implications for handling multiple requests, which is where technologies like ASGI (used with Daphne/Uvicorn) come in to handle asynchronous operations.
A mechanism that allows only one thread to execute Python bytecode at a time. This simplifies memory management but can be a bottleneck for CPU-bound tasks in multi-threaded applications. For I/O-bound tasks (like web requests), it's less of an issue.