[Python-modules-team] Bug#476235: python-scipy: useless print statement in special.sph_yn()

Pierre stackp at online.fr
Tue Apr 15 09:46:40 UTC 2008

Package: python-scipy
Version: 0.6.0-10
Severity: minor
Tags: patch

A useless "print z" appears in the definition of sph_yn() (/usr/lib/python2.[45]/site-packages/scipy/special/basic.py). It seems to be left from a debugging session. It is innocuous, but can be annoying when the function is called a lot.

solution: remove the print statement (line 235 of basic.py)

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-scipy depends on:
ii  libatlas3gf-base [liblapack.s 3.6.0-21.3 Automatically Tuned Linear Algebra
ii  libblas3gf [libblas.so.3gf]   1.2-1.5    Basic Linear Algebra Subroutines 3
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  libfftw3-3                    3.1.2-3    library for computing Fast Fourier
ii  libgcc1                       1:4.3.0-3  GCC support library
ii  libgfortran3                  4.3.0-3    Runtime library for GNU Fortran ap
ii  liblapack3gf [liblapack.so.3g 3.1.1-0.4  library of linear algebra routines
ii  libstdc++6                    4.3.0-3    The GNU Standard C++ Library v3
ii  libsuitesparse-3.1.0          3.1.0-3    collection of libraries for comput
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-central                0.6.1      register and build utility for Pyt
ii  python-imaging                1.1.6-2    Python Imaging Library
ii  python-numpy                  1:1.0.4-7  Numerical Python adds a fast array

Versions of packages python-scipy recommends:
ii  g++ [c++-compiler]            4:4.2.3-7  The GNU C++ compiler
ii  g++-4.1 [c++-compiler]        4.1.2-21   The GNU C++ compiler
ii  g++-4.2 [c++-compiler]        4.2.3-3    The GNU C++ compiler

-- no debconf information

More information about the Python-modules-team mailing list