[Numpy-discussion] Inconsistent error messages.

Charles R Harris charlesr.harris@gmail....
Sat May 23 18:57:11 CDT 2009


On Sat, May 23, 2009 at 5:51 PM, Robert Kern <robert.kern@gmail.com> wrote:

> On Sat, May 23, 2009 at 18:43, Charles R Harris
> <charlesr.harris@gmail.com> wrote:
> > Warnings used to warn once and then never again. I once hacked the module
> to
> > make it work right but I don't know if it has been officially fixed. Do
> you
> > know if it's been fixed?
>
> Warning once per location then never again is, and always has been,
> the documented default behavior. Are you referring to a more
> particular bug, like not being able to reset this, or that the
> location checking failed? What did you consider to be "working"
> behavior?
>

You were supposed to be able to change the default behaviour, but it didn't
used to work. I think if you are going to use a warning as a flag then it
has to always be raised when a failure occurs, not just the first time.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20090523/da6623bf/attachment-0001.html 


More information about the Numpy-discussion mailing list