1

Resolved

Treat exceptions in egg files as handled when debugging

description

When import statements (such as those below) invoke pkg_resources from inside a setuptools.egg file, handled exceptions may be treated as unhandled and break within the debugger.

Because we cannot extract source code from eggs, we will prompt the user to browse to the source file before explaining why they need to do that.

We should not break on exceptions thrown within egg files until they propagate back to user code.

(See #2340 for the better long-term solution.)
from mpl_toolkits.mplot3d import Axes3D
from matplotlib import cm
import matplotlib.pyplot as plt
import numpy as np

comments