[Numpy-discussion] NotImplemented string in clip not transformed into exception ?
David Cournapeau
david at ar.media.kyoto-u.ac.jp
Mon Mar 9 11:49:50 EDT 2009
Hi,
While fixing a segfault in clip, I noticed a strange behavior:
import numpy as np
# Print NotImplemented, but does not raise any exception
a = np.complex128().clip('rrr', 1)
Where is this string output coming from ? From numpy or python ? How can
I transform this into a proper exception ?
cheers,
David
More information about the NumPy-Discussion
mailing list