[SciPy-User] ANN: SciPy 1.0 beta release

Robert Kern robert.kern at gmail.com
Thu Sep 28 14:11:08 EDT 2017


On Thu, Sep 28, 2017 at 10:56 AM, Joe Harrington <jh at physics.ucf.edu> wrote:

> To the minor point about -Wd, is scipy turning off DeprecationWarnings
> by default, or is some environment like ipython doing it?

It's a plain-old-python thing.

❯ python
Enthought Deployment Manager -- https://www.enthought.com
Python 2.7.13 |Enthought, Inc. (x86_64)| (default, Mar  2 2017, 08:20:50)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import warnings
>>> warnings.filters
[('ignore', None, <type 'exceptions.DeprecationWarning'>, None, 0),
('ignore', None, <type 'exceptions.PendingDeprecationWarning'>, None, 0),
('ignore', None, <type 'exceptions.ImportWarning'>, None, 0), ('ignore',
None, <type 'exceptions.BytesWarning'>, None, 0)]

> I see numpy deprecation warnings all over the place, until I fix them.

You might be thinking of the FutureWarnings, which are not ignored by
default.

--
Robert Kern
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-user/attachments/20170928/3fc7ffaf/attachment-0001.html>


More information about the SciPy-User mailing list