AssertionErrorAssertionError
An assert statement failed because the condition evaluated to False.
MemoryErrorThe Python interpreter ran out of available memory.
The system does not have enough RAM for the operation. This happens when creating very large data structures, loading huge files into memory, or memory leaks causing gradual exhaustion.
Process data in chunks using generators or iterators instead of loading everything into memory. Use memory-efficient data structures. Profile memory usage with tracemalloc. Increase system RAM or swap space.
AssertionErrorAn assert statement failed because the condition evaluated to False.
NameErrorA local or global name was referenced that has not been defined.
asyncio.TimeoutErrorAn asyncio operation exceeded its timeout.
GeneratorExitRaised when a generator's close() method is called, allowing cleanup.
ExceptionGroupA container for multiple exceptions, introduced in Python 3.11 for structured concurrency.
BlockingIOErrorAn I/O operation would block on a non-blocking object.