Re: [IronPython] v1.1.1: Problem loading assembly, I think

2008-02-14 Thread Barry Carr
Hi, I've figured it out and got it working. I created a module and made sure that it was published and that seems to have been the answer. Thanks Dino for pointing me in the right direction. Cheer Barry Carr ___ Users mailing list Users@lists.ironpy

Re: [IronPython] v1.1.1: Problem loading assembly, I think

2008-02-14 Thread Barry Carr
Hi, After a little more experimentation and building on Dino's example, it looks like my __init__ method/constructor can see any outer scopes. If I add the import statement to the __init__ method then the Regex class is found: class SmartPadToDisplayIT: "Description of Class" print

Re: [IronPython] v1.1.1: Problem loading assembly, I think

2008-02-14 Thread Barry Carr
Hi Dino, Dino Viehland wrote: > Does this simple case work for you? It works for me on 1.0, 1.1, and 1.1.1: > Yes, it works fine. Cheers Barry Carr ___ Users mailing list Users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpyt

Re: [IronPython] v1.1.1: Problem loading assembly, I think

2008-02-13 Thread Dino Viehland
System.dll - but we do that by default so that shouldn't be possible to break. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Barry Carr Sent: Wednesday, February 13, 2008 10:37 AM To: users@lists.ironpython.com Subject: [IronPython] v1.1.1: Problem load

[IronPython] v1.1.1: Problem loading assembly, I think

2008-02-13 Thread Barry Carr
Hi, My apologies if this is really obvious but I'm stumped. The cut down python file below is called from a C# windows form app (.NET 2.0). When it runs it fails and reports: "Name 'Regex' not defined". Stepping through the python code shows that it fails as soon as comes across the first use