[Numpy-discussion] Inconsistent error messages.

Robert Kern robert.kern@gmail....
Sat May 23 18:59:12 CDT 2009


On Sat, May 23, 2009 at 18:57, Charles R Harris
<charlesr.harris@gmail.com> wrote:
>
> 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.

Did you ever report this bug?

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco


More information about the Numpy-discussion mailing list