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
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
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
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
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