[SciPy-Dev] replace print by custom Warnings

Robert Kern robert.kern at gmail.com
Wed Apr 27 14:05:18 EDT 2011


On Wed, Apr 27, 2011 at 09:56,  <josef.pktd at gmail.com> wrote:
> should scipy get additional custom warnings instead of print statements ?
>
> eg. InterpolationWarning, OptimizationWarning, ....

Is that a volunteer I smell?  :-)

Yes, these print statements should become warnings wherever possible.

-- 
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 SciPy-Dev mailing list