[SciPy-Dev] Release candidate 2 for NumPy 1.4.1 and SciPy 0.7.2

Ralf Gommers ralf.gommers at googlemail.com
Thu Apr 15 07:06:27 EDT 2010


On Thu, Apr 15, 2010 at 6:37 PM, Dag Sverre Seljebotn <
dagss at student.matnat.uio.no> wrote:

> Ralf Gommers wrote:
> >
> > These warnings are a known problem, coming from Cython code. They're
> > annoying but harmless, and not easy to turn off. So for this release
> > it looks like it'll stay this way.
>


> Actually, you can use the warnings module to set up a filter on the
> Cython warnings in the main SciPy import.
>
> Thanks Dag, that's quite straightforward. This works:

warnings.filterwarnings(action='ignore', message='.*numpy.dtype size
changed.*')
warnings.filterwarnings(action='ignore', message='.*numpy.flatiter size
changed.*')

Cheers,
Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20100415/d170dab2/attachment.html>


More information about the SciPy-Dev mailing list