Re: [IronPython] Anyone have IronPython running on Silverlight RC0 yet?

2008-09-30 Thread Jimmy Schementi
http://blog.jimmy.schementi.com/2008/09/compiling-dlr-ironruby-and-ironpython.html > -Original Message- > From: [EMAIL PROTECTED] [mailto:users- > [EMAIL PROTECTED] On Behalf Of Dan Eloff > Sent: Tuesday, September 30, 2008 1:55 PM > To: Discussion of IronPython > Subject: Re: [IronPython]

[IronPython] How do I impersonate?

2008-09-30 Thread Knic Knic
I want to generate an account token, but I cannot seem to find anything like LogonUser to call. Thanks, Knic___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Re: [IronPython] Anyone have IronPython running on Silverlight RC0 yet?

2008-09-30 Thread Dan Eloff
On Tue, Sep 30, 2008 at 11:12 AM, Jimmy Schementi <[EMAIL PROTECTED]> wrote: > The "obsolete version of Silverlight" error is because in the XAP file, the > AppManifest.xaml has the RuntimeVersion for beta2, not rc0. If you're using > Chiron, open Chiron.exe.config and in the section edit > the

Re: [IronPython] Execv in the CPython 'os' module

2008-09-30 Thread Curt Hagenlocher
For IronPython as for CPython running under Windows, the underlying implementation of the (pure Python) os module is largely contained in the "nt" module. That's where execv and execve would be if they were implemented -- which, as you've pointed out, they're not. Yet. So that's probably where yo

[IronPython] Execv in the CPython 'os' module

2008-09-30 Thread CodeKaizen
Hi all - I've been baffled by this problem for months, since I can't find it addressed anywhere, and have worked around it by using System.Diagnostics.Process or switching to powershell, but decided to get to the bottom of what is going on. I can import the 'os' module, from which I want to use '

Re: [IronPython] What happened to source drops?

2008-09-30 Thread Michael Foord
Dave Fugate wrote: Actually there was a little confusion internally and the 40877 changeset uploaded to CodePlex yesterday corresponds to our new IronPython 2.1 branch. In turn, the 2.1 branch was the reason there's been no source pushes for the past two weeks - some scripts and TFS enlistmen

Re: [IronPython] What happened to source drops?

2008-09-30 Thread Dave Fugate
Actually there was a little confusion internally and the 40877 changeset uploaded to CodePlex yesterday corresponds to our new IronPython 2.1 branch. In turn, the 2.1 branch was the reason there's been no source pushes for the past two weeks - some scripts and TFS enlistments needed updating to

Re: [IronPython] Anyone have IronPython running on Silverlight RC0 yet?

2008-09-30 Thread Jimmy Schementi
BTW, things do build correctly, and you build from the current sources things will definitely work in Silverlight 2 RC0. The "obsolete version of Silverlight" error is because in the XAP file, the AppManifest.xaml has the RuntimeVersion for beta2, not rc0. If you're using Chiron, open Chiron.ex

Re: [IronPython] Anyone have IronPython running on Silverlight RC0 yet?

2008-09-30 Thread Jimmy Schementi
Yep, just packaging stuff up and testing it out now ... > -Original Message- > From: [EMAIL PROTECTED] [mailto:users- > [EMAIL PROTECTED] On Behalf Of Ben Hall > Sent: Tuesday, September 30, 2008 2:32 AM > To: Discussion of IronPython > Subject: Re: [IronPython] Anyone have IronPython runn

Re: [IronPython] InvalidProgramException exception with NUnit

2008-09-30 Thread Fernando Correia
2008/9/29 Curt Hagenlocher <[EMAIL PROTECTED]>: > Does it work correctly under NUnit if you disable shadow copying? The sample test I provided runs without problem when it is executed directly by NUnit, but fails if NUnit is being called by some other layer, like the TestDriven.NET plugin for Visu

Re: [IronPython] Anyone have IronPython running on Silverlight RC0 yet?

2008-09-30 Thread Ben Hall
Hi Dan, I think the assemblies for RC0 are being finalised so should be released shortly. Not sure how long this process takes, should only be a few days. Thanks Ben Blog.BenHall.me.uk On Tue, Sep 30, 2008 at 3:20 AM, Dan Eloff <[EMAIL PROTECTED]> wrote: > It was easy to build the latest sou

Re: [IronPython] blocker: objects deleted when they shouldn't be

2008-09-30 Thread William Reade
Great -- thank you very much. Dino Viehland wrote: It might be this week, it might be next week - I'm currently doing some perf tuning for the DLR team and am queueing up a bunch of bugs to fix in a single day or two. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

Re: [IronPython] How to run ScriptCode from ScriptCode.LoadFromAssembly?

2008-09-30 Thread Yongming
I tried to use clr.CompileModules, it's exactly the same with previous. -- CodeContext codeCtx = new CodeContext(HostingHelpers.GetScope(_scope), HostingHelpers.GetLanguageContext(_engine)); ClrModule.CompileModules(codeCtx, "demo.dll", null, "demo.py");