Category Archives: python

Python Exception Class Hierarchy

Python 3: a first class citizen

Python 3 If you’ve already upgraded your application to Python 3 you can leverage our new Python notifier pybrake to provide more robust error reporting. pybrake¬†is redesigned from the ground up to support Python 3.4+. pybrake‘s features include providing an async API supporting code hunks adding custom information to notices… continue reading →

Python Exception Class Hierarchy

Python Exception Handling – MemoryError

Continuing along through our in-depth Python Exception Handling series, today we’ll dig into Python’s MemoryError. As with all programming languages, Python includes a fallback exception for when the interpreter completely runs out of memory and must abort current execution. In these (hopefully rare) instances, Python raises a MemoryError, giving the… continue reading →

Python Exception Class Hierarchy

Python Exception Handling – ImportError and ModuleNotFoundError

Making our way through our detailed Python Exception Handling series we arrive at the ImportError, along with its single child subclass of ModuleNotFoundError. The ImportError is raised when an import statement has trouble successfully importing the specified module. Typically, such a problem is due to an invalid or incorrect path,… continue reading →