Re: [IronPython] Using Python special methods in C#

2008-07-28 Thread Dino Viehland
can have various strongly typed overloads, etc... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Foord Sent: Saturday, July 26, 2008 1:33 PM To: Discussion of IronPython Subject: Re: [IronPython] Using Python special methods in C# Hello Dino

Re: [IronPython] Using Python special methods in C#

2008-07-26 Thread Michael Foord
:[EMAIL PROTECTED] On Behalf Of Michael Foord Sent: Sunday, July 13, 2008 10:21 AM To: Discussion of IronPython Subject: Re: [IronPython] Using Python special methods in C# Dan Eloff wrote: Something I've found a little difficult in C# is python special methods. It seems sometimes you can just

Re: [IronPython] Using Python special methods in C#

2008-07-26 Thread Erich Neuwirth
PROTECTED] On Behalf Of Michael Foord Sent: Sunday, July 13, 2008 10:21 AM To: Discussion of IronPython Subject: Re: [IronPython] Using Python special methods in C# Dan Eloff wrote: Something I've found a little difficult in C# is python special methods. It seems sometimes you can just declare

Re: [IronPython] Using Python special methods in C#

2008-07-26 Thread Michael Foord
. Otherwise fallback to the __*_- method. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Foord Sent: Sunday, July 13, 2008 10:21 AM To: Discussion of IronPython Subject: Re: [IronPython] Using Python special methods in C# Dan Eloff wrote

Re: [IronPython] Using Python special methods in C#

2008-07-26 Thread Erich Neuwirth
GetCustomMember as Srivatsn's blog demonstrates. Otherwise fallback to the __*_- method. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Foord Sent: Sunday, July 13, 2008 10:21 AM To: Discussion of IronPython Subject: Re: [IronPython] Using Python

[IronPython] Using Python special methods in C#

2008-07-13 Thread Dan Eloff
Something I've found a little difficult in C# is python special methods. It seems sometimes you can just declare them on the C# class, (__repr__?) and they will work, other times you need to implement an interface (__call__?) is there any place this is documented? I'm a little confused about how

Re: [IronPython] Using Python special methods in C#

2008-07-13 Thread Dino Viehland
: Re: [IronPython] Using Python special methods in C# Dan Eloff wrote: Something I've found a little difficult in C# is python special methods. It seems sometimes you can just declare them on the C# class, (__repr__?) and they will work, other times you need to implement an interface (__call__

Re: [IronPython] Using Python special methods in C#

2008-07-13 Thread Dan Eloff
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Foord Sent: Sunday, July 13, 2008 10:21 AM To: Discussion of IronPython Subject: Re: [IronPython] Using Python special methods in C# Dan Eloff wrote: Something I've found a little difficult in C# is python special methods