[IronPython] SilverShell 0.6.1 Released - many "intellisense" fixes + all source

2008-12-06 Thread Dan Eloff
I'm trying to walk a fine line between spamming this list, and alerting the 200+ people who downloaded SilverShell 0.6.0 that there's an important new bugfix release. I put a lot of irritating flaws in the "intellisense" to rest, including a major issue with member completion that crept into 0.6.0

Re: [IronPython] SourceCodeKind.Statements versus SourceCodeKind.InteractiveCode

2008-12-06 Thread Dan Eloff
On Sat, Dec 6, 2008 at 6:33 PM, Jeff Slutter <[EMAIL PROTECTED]> wrote: > I'm working on getting an interactive script console into my > application. Information on how to do this is a bit hard to find but I > came across an app.py by Jim Hugunin showing how to do it with Silverlight. You may find

Re: [IronPython] Examples_for_calling_IronPython_from_ C#

2008-12-06 Thread Seshadri Pillailokam Vijayaraghavan
>>>Did you have a chance to do that? Not in terms of a blog post... But this example should demonstrate that public void InvokeInstance_Example() { ScriptEngine engine = _runtime.GetEngine("py"); ScriptScope scope = engine.CreateScope(); ObjectOperation

Re: [IronPython] Examples_for_calling_IronPython_fr om_ C#

2008-12-06 Thread M. Whitener
Sesh, after your changes (below), and replacing using System.Scripting with using Microsoft.Scripting it works! This is great. Thank you. You mentioned that planned to post some code showing how to call python class instance methods. Did you have a chance to do that? Thanks again! O

Re: [IronPython] SourceCodeKind.Statements versus SourceCodeKind.InteractiveCode

2008-12-06 Thread Dino Viehland
This behavior is actually defined by CPython which specs interactive input as being: interactive_input ::= [stmt_list] NEWLINE | compound_stmt NEWLINE The stmt_list allows the semi-colon delinated lines and the compound_stmt allows a single statement. The idea here is that this is for a conso

[IronPython] SourceCodeKind.Statements versus SourceCodeKind.InteractiveCode

2008-12-06 Thread Jeff Slutter
I'm working on getting an interactive script console into my application. Information on how to do this is a bit hard to find but I came across an app.py by Jim Hugunin showing how to do it with Silverlight. I based my C# app around that and have something working pretty well. I'm always using Sou

Re: [IronPython] Examples for calling IronPython from  C#

2008-12-06 Thread Seshadri Pillailokam Vijayaraghavan
See if this helps - http://blogs.msdn.com/seshadripv/archive/2008/06/30/how-to-invoke-a-python-function-from-c-using-the-dlr-hosting-api.aspx However, the sample will not compile as some of the runtime initialization APIs have changed since that sample was posted. To fix this replace the 'Scrip

[IronPython] Examples for calling IronPython from  C#

2008-12-06 Thread M. Whitener
Is there a good source of documentation on how to use functions and classes in an IronPython program from C#? I need info on how to do this using C# 3.0 or lower - in other words _not_ using C# 4.0 dynamic types. The only example I have found is a very incomplete one from Alex Turner given at PDC 2

Re: [IronPython] CP #20099: Stack Overflow using super() in dict subclass

2008-12-06 Thread Dino Viehland
The immediate question would be does fixing this unblock all other Django issues? If there's going to be a long tail of other bugs then it'd be better to just fix them all for 2.0.1. If you want to try this out the fix is easy, in PythonDictionary.cs replace the line: this

Re: [IronPython] NWSGI 0.7 released

2008-12-06 Thread Michael Foord
Jeff Hardy wrote: On Sat, Dec 6, 2008 at 10:20 AM, Michael Foord <[EMAIL PROTECTED]> wrote: The Django guys are very interested in getting it to work on IronPython and would be open to discussion as to ways round problem. For example - how to resolve the str / unicode issue (perhaps patching

[IronPython] CP #20099: Stack Overflow using super() in dict subclass

2008-12-06 Thread Jeff Hardy
Hi, Django's MultiValueDict is a key piece of its URL routing, and it appears to be broken on IronPython 2.0RC2 (and RC1) when using a key of None. See http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=20099 for details. I hate to be needy with a release so close, but is there any

Re: [IronPython] NWSGI 0.7 released

2008-12-06 Thread Jeff Hardy
On Sat, Dec 6, 2008 at 10:20 AM, Michael Foord <[EMAIL PROTECTED]> wrote: > The Django guys are very interested in getting it to work on IronPython and > would be open to discussion as to ways round problem. For example - how to > resolve the str / unicode issue (perhaps patching in a compatible 'b

Re: [IronPython] NWSGI 0.7 released

2008-12-06 Thread Michael Foord
Jeff Hardy wrote: Hi Miha, As Dan said, there are issues with str == unicode (although there is a Jython branch of Django that I should look into). There are also some other issues that seem to shift - trying to hit two moving targets makes tracking them difficult. For very simple stuff, Django m

Re: [IronPython] Welcome David DiCato

2008-12-06 Thread Carl Trachte
Samo Arigato, David DiCato (and Dino and Curt and Jim H. too) On Fri, Dec 5, 2008 at 7:42 PM, Dan Eloff <[EMAIL PROTECTED]> wrote: > Welcome David. It is heartening to see that even in these difficult > economic times Microsoft is allocating more resources to dynamic > languages. > > Best wishes t

Re: [IronPython] NWSGI 0.7 released

2008-12-06 Thread Jeff Hardy
Hi Miha, As Dan said, there are issues with str == unicode (although there is a Jython branch of Django that I should look into). There are also some other issues that seem to shift - trying to hit two moving targets makes tracking them difficult. For very simple stuff, Django might work, but I wou

[IronPython] Last source drop was Nov 30. Is something broken?

2008-12-06 Thread Dan Eloff
Just eager to get my hands on the latest code. -Dan ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com