Package: python2.4-scipy
Version: 0.3.2-8
Severity: normal

Because import scipy.stats doesn't actually do the import
(it returns a fancy __ppinport_p_frame object that seems
to do a delayed import), the __dict__ attribute is
not what one expects and is pretty much useless.
As is dir(scipy.stats).

Neither one tells you what is inside the scipy.stats
module.     Ideally, one would do something fancy
with __ppinport_p_frame.__getattribute__ so that
when one asked for __dict__,
__getattribute__ would be called,
the module would be imported,
and the actual __dict__ of the scipy.stats module
would be returned.

Example:

import scipy.stats
print scipy.stats.__dict__


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages python2.4-scipy depends on:
ii  atlas3-base [liblapack.s 3.6.0-19        Automatically Tuned Linear Algebra
ii  atlas3-sse2 [liblapack.s 3.6.0-19        Automatically Tuned Linear Algebra
ii  fftw2 [fftw2-double]     2.1.3-16.2      Library for computing Fast Fourier
ii  libc6                    2.3.5-8         GNU C Library: Shared libraries an
ii  libg2c0                  1:3.4.5-1       Runtime library for GNU Fortran 77
ii  libgcc1                  1:4.0.2-5       GCC support library
ii  libstdc++6               4.0.2-5         The GNU Standard C++ Library v3
ii  libx11-6                 6.8.2.dfsg.1-11 X Window System protocol client li
ii  python                   2.3.5-5         An interactive high-level object-o
ii  python2.4                2.4.2-2         An interactive high-level object-o
ii  python2.4-numeric        24.2-1          Numerical (matrix-oriented) Mathem
ii  python2.4-scipy-core     0.3.2-6         low level utilities for scipy (for
ii  xlibs                    6.8.2.dfsg.1-11 X Window System client libraries m

Versions of packages python2.4-scipy recommends:
ii  g++ [c++-compiler]            4:4.0.2-2  The GNU C++ compiler
ii  g++-4.0 [c++-compiler]        4.0.2-5    The GNU C++ compiler
pn  python2.4-f2py                <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to