[IronPython] array missing in IPY 2.0A3

Dino Viehland dinov at exchange.microsoft.com
Mon Aug 13 17:42:08 CEST 2007


Yes, I've just been slacking on porting it forward.  Sorry about that.

From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Thane Plummer
Sent: Saturday, August 11, 2007 3:04 PM
To: 'Discussion of IronPython'
Subject: [IronPython] array missing in IPY 2.0A3

Any plans on re-implementing the built-in array module in IPY 2.0?

IronPython console: IronPython 2.0A3 (2.0.10724.00) on .NET 2.0.50727.832
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import array
Traceback (most recent call last):
  File , line 0, in <string>##28
  File , line 0, in _stub_##2
ImportError: No module named array

>>>

IronPython 1.1 (1.1) on .NET 2.0.50727.832
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import array
>>> arr = array.array('I')
>>> li = range(12)
>>> li
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
>>> arr.fromlist(li)
>>> arr
array('I', [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, ])
>>> type(arr)
<type 'array'>
>>>

Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import array
>>> arr = array.array('I')
>>> l = range(12)
>>> l
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]
>>> arr.fromlist(l)
>>> arr
array('I', [0L, 1L, 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L, 10L, 11L])
>>> type(arr)
<type 'array.array'>
>>>

Thane Plummer
TKP Inc.
Augusta, GA




No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.476 / Virus Database: 269.11.13/946 - Release Date: 8/10/2007 3:50 PM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20070813/14631a44/attachment.html>


More information about the Ironpython-users mailing list