[IronPython] Intefaces

Dino Viehland dinov at exchange.microsoft.com
Fri Oct 20 19:58:58 CEST 2006

That's a very interesting idea.  We might want to still combine that w/ exposing names when there are no collisions, but making interfaces return an interface proxy would provide an easy way when that breaks down.  I've added this idea to the bug we have for this (1506, http://www.codeplex.com/WorkItem/View.aspx?ProjectName=IronPython&WorkItemId=1506).

-----Original Message-----
From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Sanghyeon Seo
Sent: Friday, October 20, 2006 6:29 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Intefaces

2006/10/20, Dino Viehland <dinov at exchange.microsoft.com>:
Long term we also want to expose these in a more natural way.
Unfortunately we struggled with coming up with a rational way to deal
w/ collisions and other corner cases and so we punted on this for v1.0
(and what C# exposes here isn't everything the CLR supports, making it
even more fun to get the right answer!)

How about this? Currently:

IFooBar.Foo(object, arg)
IFooBar.Bar.SetValue(object, value)


wrapper = IFooBar(object)
wrapper.Bar = value

Seo Sanghyeon
users mailing list
users at lists.ironpython.com

More information about the Ironpython-users mailing list