[Python-modules-team] Bug#519483: python-numpy: Warning -> DeprecationWarning in numpy.histogram
Yaroslav Halchenko
debian at onerussian.com
Thu Mar 12 18:27:11 UTC 2009
Package: python-numpy
Version: 1:1.2.1-1
Severity: minor
Just trying to come up with more or less clean solution to suppress deprecation
warnings "kindly" puking on me from different corners of numpy ;)
Ran into numpy.histogram which issues regular Warning instead of DeprecationWarning in
function_base.py:266:
warnings.warn("""
The original semantics of histogram is scheduled to be
deprecated in NumPy 1.3. The new semantics fixes
long-standing issues with outliers handling. The main
changes concern
1. the definition of the bin edges,
now including the rightmost edge, and
2. the handling of upper outliers,
now ignored rather than tallied in the rightmost bin.
Please read the docstring for more information.
""", Warning)
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'stable'), (300, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-numpy depends on:
ii libatlas3gf-base [libla 3.6.0-22.1~debug Automatically Tuned Linear Algebra
ii libatlas3gf-sse [liblap 3.6.0-22.1~debug Automatically Tuned Linear Algebra
ii libatlas3gf-sse2 [libla 3.6.0-22.1~debug Automatically Tuned Linear Algebra
ii libblas3gf [libblas.so. 1.2-2 Basic Linear Algebra Subroutines 3
ii libc6 2.9-4 GNU C Library: Shared libraries
ii libgcc1 1:4.3.1-9 GCC support library
ii libgfortran3 4.3.1-9 Runtime library for GNU Fortran ap
ii liblapack3gf [liblapack 3.1.1-1 library of linear algebra routines
ii python 2.5.2-2 An interactive high-level object-o
ii python-central 0.6.11 register and build utility for Pyt
python-numpy recommends no packages.
Versions of packages python-numpy suggests:
ii python-nose 0.10.4-2 test discovery and running for Pyt
pn python-numpy-dbg <none> (no description available)
ii python-numpy-doc 1:1.2.1-1 NumPy documentation
-- no debconf information
More information about the Python-modules-team
mailing list