Error Code Portal
PythonPythonError code

PythonFinalizationError

PythonFinalizationError

Code PythonFinalizationError · An issue reported by Python.

This exception is derived from RuntimeError. It is raised when an operation is blocked during interpreter shutdown also known as Python finalization. Examples of operations which can be blocked with a PythonFinalizationError during the Python finalization: See also the sys.is_finalizing() function.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.