Re: [IronPython] DLR Hosting Spec

2007-11-19 Thread Sanghyeon Seo
2007/11/20, Dino Viehland <[EMAIL PROTECTED]>: > We look forward to any feedback you might have! > You can grab the spec here: http://www.iunknown.com/files/dlr-spec-hosting.pdf I think there are a lot of things to learn from Java. Java 6 introduced javax.script hosting API. http://java.sun.com/ja

[IronPython] Half the team OOF this week

2007-11-19 Thread Shri Borde
Btw, half of our team is out this week for the Thanksgiving weekend. Dino is OOF starting Tuesday. So you may not get a prompt response this week. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dino Viehland Sent: Monday, November 19, 2007 4:16 PM To: Di

[IronPython] DLR Hosting Spec

2007-11-19 Thread Dino Viehland
As I mentioned a couple of weeks ago we've been wrapping up work on designing the hosting APIs and just this past week we've started implementing the new hosting APIs. We'll be continuing this work off-and-on over the next few months so now is a great time to start collecting feedback on the de

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

2007-11-19 Thread Dino Viehland
You can use either the [Optional] attribute or the [DefaultParameterValue(null)] attributes on the parameter in the C# signature to mark the parameter as being optional. And if you're using a language that's more friendly to default/optional attributes (e.g. VB.NET) you could just use their na

Re: [IronPython] Disabling optimized methods

2007-11-19 Thread Dino Viehland
This isn't actually optimization but rather dynamic methods. You can use the -X:StaticMethods which will force all methods into types. But the consequence of this is if methods are getting dynamically defined (e.g. exex "def foo(): pass") then we'll leak memory because the methods can never be