Re: [IronPython] Expose a C# function as a Python function taking a default argument

2007-11-20 Thread Jeff Hardy
ped to > object and do [Optional] you get Missing.Value instead of null so you can > disambiguate between the two. > > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Hardy > Sent: Sunday, November 18, 2007 12:31 PM > To: Discussi

Re: [IronPython] Expose a C# function as a Python function taking a default argument

2007-11-19 Thread Dino Viehland
TECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Hardy Sent: Sunday, November 18, 2007 12:31 PM To: Discussion of IronPython Subject: [IronPython] Expose a C# function as a Python function taking a default argument Hi all, I have a function declared in C#: void StartResponse(string status, List r

[IronPython] Expose a C# function as a Python function taking a default argument

2007-11-18 Thread Jeff Hardy
Hi all, I have a function declared in C#: void StartResponse(string status, List response_headers, Tuple exc_info); I need to pass this to a Python function, and the Python function will call it. Currently, the code looks like this: object responsesObj = engine.CallObject(callable, module, environ