Re: Is arraymodule broken ?

Adrian Phillips (tandem@freeze.oslo.dnmi.no)
Tue, 15 Mar 1994 15:10:40 +0000

On Mar 15, 8:55am, Steven D. Majewski wrote:
> $ python
> Python 1.0.1 (Mar 8 1994)
> Copyright 1991-1994 Stichting Mathematisch Centrum, Amsterdam
> >>> from array import array
> >>> array( 'c', 'abc' )
> < object at 2006e8b8>
> Illegal instruction(coredump)
> $
>
> $ python
> Python 1.0.1 (Mar 8 1994)
> Copyright 1991-1994 Stichting Mathematisch Centrum, Amsterdam
> >>> from array import array
> >>> array( 'd', [ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] )
> < object at 200771c8>
> Illegal instruction(coredump)
> $
>
> [ Sigh! ... no comment. - Steve ]
>-- End of excerpt from Steven D. Majewski

Okay heres what happened on an AIX here, 3.2.4, python compiled with gcc 2.5.8

Python 1.0.1 (Mar 8 1994)
Copyright 1991-1994 Stichting Mathematisch Centrum, Amsterdam
>>> from array import array
>>> array( 'c', 'abc' )
array('c', 'abc')
>>>
>>> array( 'd', [ 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 ] )
array('d', [0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0])
>>>

Adrian

-- 
---------------------
 ========================================================================
=   	    	    	    	    	    	    	    	    	 =
= Adrian Phillips at The Norwegian Meteorological Institute   	    	 =
=    	    	    	    	    	    	    	    	    	 =
= BUT any thoughts in this are purely my own and have nothing to do with =
= this establishment, thankfully.   	    	    	    	    	 =
=   	    	    	    	    	    	    	    	    	 =
= Internet: daap@typhoon.oslo.dnmi.no  	    	    	    	    	 =
= Phone: 47 22 96 32 09	    	    	    	    	    	    	 =
= Fax: 47 22 96 30 50	    	    	    	    	    	    	 =
=   	    	    	    	    	    	    	    	     	 =
 ========================================================================