[Numpy-discussion] unwanted cpuinfo output

Alan G Isaac aisaac@american....
Wed Sep 19 22:00:15 CDT 2007


Suppose I import cpuinfo on a Win32 platform::

    Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC 
    v.1310 32 bit (Intel)] on win32
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import numpy
    >>> numpy.__version__
    '1.0.3.1'
    >>> from numpy.distutils import cpuinfo
    0

That unwanted '0' is due to a print statement on line 527::

                    print proc

This is being printed is the **absence** of an exception,
so I believe this is unwanted behavior.

Cheers,
Alan Isaac





More information about the Numpy-discussion mailing list