[Numpy-discussion] how can one catch a multiarray.error
Charles R Harris
Tue Jun 2 22:30:08 CDT 2009
On Tue, Jun 2, 2009 at 9:22 PM, Robert Kern <email@example.com> wrote:
> On Tue, Jun 2, 2009 at 22:21, Charles R Harris
> <firstname.lastname@example.org> wrote:
> > OK. I left the strings exposed in the modules with a fixme notes. Do you
> > think they should be removed while we are at it?
> I think they should be replaced with the Exception classes that are
> being raised in their place.
Hmm, all the replacement exceptions are standard python exceptions and for
the most part already were in multiarray. How about replacing the strings
with PyExc_Exception. I think that should catch everything.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion