2011/7/28 Stéfan van der Walt <ste...@sun.ac.za>:
> On Thu, Jul 28, 2011 at 2:05 PM, Paul Anton Letnes
> <paul.anton.let...@gmail.com> wrote:
>> In my quest for a bug-free numpy I have, I think, fixed ticket 1793.
>> https://github.com/numpy/numpy/pull/123
>
> This brings up an interesting question.  When raising warnings, they
> only show for the first time, unless the system is specially
> configured.

Note that the contents of the message is taken into account; *unique*
messages only show up for the first time, but different messages for
the same warning issued from the same place will all appear. Taking a
quick glance at the pull request, it looks like the filename is
included in the message, so the warning will appear once for each file
that needs to be warned about. This seems entirely appropriate
behavior to me.

-- 
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
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to