[SciPy-dev] Functions with print statements

Robert Kern robert.kern@gmail....
Sun Jul 20 22:47:18 CDT 2008

On Sun, Jul 20, 2008 at 22:44, Alan McIntyre <alan.mcintyre@gmail.com> wrote:
> Hi all,
> There are some functions in SciPy that use print statements to warn
> the user of various questionable conditions, such as
> scipy.stats.shapiro, ansari, and wilcoxon.  Should these be using
> warnings.warn instead?

Typically, yes.

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