-Jim
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Keith J. Farmer
Sent: Friday, April 01, 2005 6:39 PM
To: Discussion of IronPython
Subject: RE: [IronPython] Generics support in IronPython
So that shows consumption -- is creation supported?
Very
So that shows consumption -- is creation supported?
Very cool
From: [EMAIL PROTECTED] on behalf of Jim Hugunin
Sent: Fri 4/1/2005 5:17 PM
To: Martin Smith; users-ironpython.com@lists.ironpython.com
Subject: RE: [IronPython] Generics support in IronPython
Martin Smith wrote:
> Will IronPython support generics?
Here's the short answer to your question:
>>> from System.Collections.Generic import *
>>> l = List[str]()
>>> l.Add('hi')
>>> list(l)
['hi']
>>> l.Add(42)
System.Exception: bad args to this method
This works today and creates a List. All
Hi,
Will IronPython support generics?
Also, is support for calling python code from other CLR languages scoped for
1.0? It would be a particularly useful to be able to call compiled python
code from C#, or, even better, extend python classes in C#.
Keep up the great work. I'm looking forward t