Jim, Martin and I discussed this today and we're looking at providing some 
array creation functionality via the clr module.  This will be different from 
jarray in that you'll be able to use the raw CLR arrays w/o a wrapper.  We 
would then make slicing work on arrays by making them appear as though they 
were sliceable - no wrapper object necessary.

I'll reply again when we have a better estimate of when this will show up.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanghyeon Seo
Sent: Tuesday, January 31, 2006 2:32 AM
To: users@lists.ironpython.com
Subject: [IronPython] Slicing an array

E:\IronPython-1.0-Beta2>ip
IronPython 1.0.2216 (Beta) on .NET 2.0.50727.42
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import System
>>> buffer = System.Array.CreateInstance(System.Byte, 10)
>>> buffer[:5]
Traceback (most recent call last):
  File , line 0, in input##2
NotImplementedError: The method or operation is not implemented.
>>>

Is this planned to be implemented? If so, when?

Will IronPython have something like
http://www.jython.org/docs/jarray.html ?

Seo Sanghyeon
_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
_______________________________________________
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to