[Numpy-tickets] [NumPy] #494: Arrays of type float96 or float128 do not display correctly
NumPy
numpy-tickets@scipy....
Sun Apr 8 10:36:58 CDT 2007
#494: Arrays of type float96 or float128 do not display correctly
------------------------------+---------------------------------------------
Reporter: socha | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.0.2 Release
Component: numpy.core | Version: none
Severity: normal | Resolution:
Keywords: float96 float128 |
------------------------------+---------------------------------------------
Comment (by socha):
Here's the code I tried (extracted from original submission):
{{{
import numpy
numpy.__version__
from numpy import array
f = array([1,2,3], dtype='float96')
f
f.astype('float32')
f.sum()
f.sum().astype('float32')
}}}
Here are the experiments I did:
(1) Removed numpy directory. Reinstalled numpy from
numpy-1.0.2.win32-py2.4.exe. Same problem.
(2) Removed numpy and Numeric directories. Reinstalled numpy. Same
problem.
(3) Removed numpy and numarray directories. Reinstalled numpy. Same
problem.
Site-packages directory now has contents shown below.
(4) Removed numpy and reinstalled numpy from numpy-1.0.1.win32-py2.4.exe.
Same problem.
Note that I did not see this problem on our Linux computer. However, I
have seen this problem on both Windows computers that I have tried it on.
It may be that to duplicate this, you need to install Python Enthought
Edition--Python 2.4.3 for Windows Enhanced Python Distribution :
http://code.enthought.com/enthon/
Perhaps this is due to a conflict with another package? Here is the
contents of my site-packages directory after (3) above:
{{{
C:\Python24\Lib\site-packages>dir
Volume in drive C has no label.
Volume Serial Number is 20A5-3ACF
Directory of C:\Python24\Lib\site-packages
04/08/2007 08:22 AM <DIR> .
04/08/2007 08:22 AM <DIR> ..
04/04/2007 11:42 AM <DIR> BTrees
07/26/2006 04:07 PM 147,968 cElementTree.pyd
04/04/2007 11:41 AM <DIR> ctypes
04/06/2007 02:21 PM <DIR> dateutil
04/03/2007 05:42 PM <DIR> dbfpy
04/04/2007 11:44 AM <DIR> docutils
12/21/2004 01:46 AM 10,012 dot_parser.py
06/30/2006 07:58 PM 216 easy-install.pth
04/04/2007 11:43 AM <DIR> elementtree
04/04/2007 11:46 AM <DIR> enthought
02/24/2005 11:42 AM 5,754 fpconst.py
04/04/2007 11:43 AM <DIR> gadfly
04/04/2007 11:43 AM <DIR> IPython
04/04/2007 11:44 AM <DIR> isapi
04/06/2007 02:21 PM <DIR> matplotlib
04/04/2007 11:40 AM <DIR> mayavi
04/03/2007 05:42 PM <DIR> MySQLdb
04/03/2007 05:42 PM <DIR> MySQL_python-1.2.2-py2.4.egg-info
04/08/2007 08:20 AM <DIR> numpy
04/04/2007 11:42 AM <DIR> persistent
04/04/2007 11:41 AM <DIR> PIL
08/02/2006 12:02 PM 5 PIL.pth
04/04/2007 11:41 AM <DIR> PyCrust
12/21/2004 01:45 AM 33,616 pydot.py
07/07/2006 02:48 PM 32 pylab.py
02/06/2006 08:10 AM 99,402 pyparsing.py
04/04/2007 11:44 AM <DIR> pyreadline
04/04/2007 11:44 AM <DIR> pysqlite2
04/04/2007 11:44 AM <DIR> pysvn
10/31/2003 06:47 PM 141 pythoncom.py
04/04/2007 11:44 AM <DIR> pythonwin
04/06/2007 02:21 PM <DIR> pytz
07/25/2006 08:45 PM 2,045,202 PyWin32.chm
10/10/2004 05:15 PM 69 pywin32.pth
08/02/2006 12:05 PM 5 pywin32.version.txt
04/04/2007 11:44 AM <DIR> pywin32_system32
05/07/2006 10:26 AM 811 readline.py
04/03/2007 02:36 PM 653 readline.pyc
03/31/2000 03:03 PM 119 README.txt
06/15/2003 10:23 PM 2,687 roman.py
04/04/2007 11:41 AM <DIR> Scientific
04/04/2007 01:18 PM <DIR> scipy
04/04/2007 11:44 AM <DIR> serial
04/04/2007 11:44 AM <DIR> setuptools-0.6a11dev-py2.4.egg
08/02/2006 12:07 PM 32 setuptools.pth
06/30/2006 07:58 PM 2,444 site.py
06/30/2006 08:00 PM 1,812 site.pyo
04/04/2007 11:43 AM <DIR> SOAPpy
04/04/2007 11:44 AM <DIR> tables
04/04/2007 11:44 AM <DIR> testoob
04/04/2007 11:42 AM <DIR> ThreadedAsync
04/04/2007 11:42 AM <DIR> transaction
04/04/2007 11:40 AM <DIR> vtk
04/20/2006 11:43 AM 10 vtk.pth
04/04/2007 11:40 AM <DIR> vtkPipeline
04/04/2007 11:40 AM <DIR> vtk_python
04/04/2007 11:44 AM <DIR> win32
04/04/2007 11:45 AM <DIR> win32com
04/03/2007 11:08 AM <DIR> win32comext
04/03/2007 11:06 AM <DIR> wx-2.6-msw-unicode-enthought
04/19/2006 01:18 PM 28 wx.pth
05/16/2005 06:36 PM 17,511 wxversion.py
04/04/2007 11:42 AM <DIR> ZConfig
04/04/2007 11:43 AM <DIR> zdaemon
04/04/2007 11:43 AM <DIR> ZEO
04/04/2007 11:43 AM <DIR> ZODB
04/04/2007 11:43 AM <DIR> zope
04/04/2007 11:43 AM <DIR> ZopeUndo
07/26/2006 04:08 PM 86,016 _ctypes.pyd
07/26/2006 04:08 PM 11,776 _ctypes_test.pyd
04/04/2007 12:57 PM 1,507,328 _mysql.pyd
04/04/2007 12:57 PM 2,306 _mysql_exceptions.py
04/04/2007 12:57 PM 3,680 _mysql_exceptions.pyc
04/04/2007 12:57 PM 3,680 _mysql_exceptions.pyo
04/04/2007 11:43 AM <DIR> _xmlplus
28 File(s) 3,983,315 bytes
49 Dir(s) 33,296,609,280 bytes free
}}}
--
Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/494#comment:3>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list