Re: [IronPython] unittest broken in IPy 2.7A1

2010-07-27 Thread Michael Foord
On 25/07/2010 01:56, Vernon Cole wrote: Dear development team: This one may be important... This error is because although the unittest package directory is present in the Lib directory, big chunks of the actual unittest package are missing... Michael c:\program files\IronPython

[IronPython] Time out

2010-07-27 Thread Saeli Mathieu
I found a way to solve this problem :) Pretty easy :) public class MyThreadHandle { #region //Your properties here :) public String Error; #endregion //use the constructor to init your properties public MyThreadHandle(PythonEditor pythonEngine) { this.pyEngine = pythonEngine; }

[IronPython] IronPython 2.6 CodePlex Source Update

2010-07-27 Thread merllab
This is an automated email letting you know that sources have recently been pushed out. You can download these newer sources directly from http://ironpython.codeplex.com/SourceControl/changeset/view/74130. ADDED SOURCES

Re: [IronPython] Building IronPython from sources

2010-07-27 Thread Lukas Cenovsky
Thanks. Copying my current Silverlight version 4.0.50524.0 to 3.0.50106.0 helped and Microsoft.Scripting.dll compiles fine. Now I get many following errors for Microsoft.Dynamic.dll: Error1'Func' is an ambiguous reference between 'System.FuncT0,T1,T2,T3,T4,TRet' and

Re: [IronPython] Building IronPython from sources

2010-07-27 Thread Dave Fugate
I'd actually suggest doing this with 2.7 Alpha 1 sources... Building 2.6.1 requires a Silverlight 3.x installation as there were changes to System.Core (e.g., System.Func) between Silverlight 3.x and Silverlight 4.x. As you've discovered, we implemented some of this missing System.Core

Re: [IronPython] Building IronPython from sources

2010-07-27 Thread Lukas Cenovsky
I am a little bit confused about Silverlight, .NET and IronPython versions. Here is a list what I think is valid, please correct me if I am wrong: * IronPython 2.6.1 supports Silverlight 3 + .NET 2 SP1 * IronPython 2.6.1 does not support Silverlight 4 + .NET 2 SP1 or Silverlight 4

Re: [IronPython] Building IronPython from sources

2010-07-27 Thread Dave Fugate
Hi Lukas, the deal is IronPython 2.6.x (where x0) will run against .NET 2.0 SP1, .NET 4.0, Silverlight 3, and Silverlight 4. You'll only be able to build IronPython 2.6.x against .NET 2.0 SP1, .NET 4.0, and Silverlight 3 though. In other words, we will not be back porting Silverlight 4 build

[IronPython] Embedding web browser?

2010-07-27 Thread Lukáš Duběda
Hi there everyone, I have a quick question: is it possible to embed a web browser and override it's dragdrop functionality? I mean, we have a intranet application, written in PHP, Python, JavaScript and what not and it basically provides a means for tracking our files on the servers. What it

Re: [IronPython] Building IronPython from sources

2010-07-27 Thread Lukas Cenovsky
Thanks for the info Dave. However, I still smell a catch here :-) What means no build support for IronPython 2.6.x and Silverlight 4 - considering the functionality? Can I use all functionality of Silverlight 4 with Silverlight 3 based assemblies? What is a difference between Silverlight 3

[IronPython] Dynamically import namespace from C# DLL

2010-07-27 Thread Danny Fernandez
I am trying to figure out how to import types from a namesapce at run time. I can do a from ... import * but my goal is only to to import the types only when I need access to those types from a namespace and the namespace is not known until it is calculated by a request. I tried the simpliest and

Re: [IronPython] Dynamically import namespace from C# DLL

2010-07-27 Thread Dino Viehland
You can call __import__ directly and then use getattr() to get the values, such as: getattr(__import__('System'), 'Collections') __import__ returns the top-level namespace so you'll need to handle each dot yourself. From: users-boun...@lists.ironpython.com

Re: [IronPython] Dynamically import namespace from C# DLL

2010-07-27 Thread Danny Fernandez
Thanks for the tip this should get the ball rolling. On Tue, Jul 27, 2010 at 2:43 PM, Dino Viehland di...@microsoft.com wrote: You can call __import__ directly and then use getattr() to get the values, such as: getattr(__import__(‘System’), ‘Collections’) __import__ returns the

Re: [IronPython] unittest broken in IPy 2.7A1

2010-07-27 Thread Dino Viehland
Weird... I can only assume the broken module detector is broken. We apparently need a better broken broken module detector detector. From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Michael Foord Sent: Tuesday, July 27, 2010 6:59 AM To:

Re: [IronPython] unittest broken in IPy 2.7A1

2010-07-27 Thread Vernon Cole
Now THAT was funny! (I think I once read a Dr. Seuss book about it.) Can I just copy the unittest library from 2.6? -- Vernon On Tue, Jul 27, 2010 at 9:05 PM, Dino Viehland di...@microsoft.com wrote: Weird… I can only assume the broken module detector is broken. We apparently need a