Since numpy generally does not expose parts as modules, I think a separate namespace for the exceptions makes sense. I prefer `np.exceptions` over `np.errors`.

It might still make sense for that namespace to import from the different parts, i.e., also have `np.core.exceptions`, np.polynomial.exceptions`, etc., in part because the ones in `core` will have C helper functions. But that is a bit of an implementation detail.

-- Marten

_______________________________________________

NumPy-Discussion mailing list

[hidden email]
https://mail.python.org/mailman/listinfo/numpy-discussion