[Numpy-discussion] Inconsistent error messages.
Charles R Harris
Sat May 23 18:57:11 CDT 2009
On Sat, May 23, 2009 at 5:51 PM, Robert Kern <email@example.com> wrote:
> On Sat, May 23, 2009 at 18:43, Charles R Harris
> <firstname.lastname@example.org> wrote:
> > Warnings used to warn once and then never again. I once hacked the module
> > make it work right but I don't know if it has been officially fixed. Do
> > 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"
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion