Re: [IronPython] expose some namespaces of own application

2006-08-16 Thread Stanislas Pinte
6, 2006 8:45 AM > To: Discussion of IronPython > Subject: Re: [IronPython] expose some namespaces of own application > > Dino Viehland a écrit : >> This is actually a bug - ReflectedPackage.TryGetAttr is looking at all >> types, not just exported types. I've opene

Re: [IronPython] expose some namespaces of own application

2006-08-16 Thread Dino Viehland
FYI we're going to fix this in 1.0 RC2 which should be out this week. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stanislas Pinte Sent: Wednesday, August 16, 2006 8:45 AM To: Discussion of IronPython Subject: Re: [IronPython] expose some namespac

Re: [IronPython] expose some namespaces of own application

2006-08-16 Thread Stanislas Pinte
Dino Viehland a écrit : > This is actually a bug - ReflectedPackage.TryGetAttr is looking at all types, > not just exported types. I've opened CodePlex bug 2199 to track this. > > I've tentatively set it for 1.01 but we'll need to triage the bug properly to > decide what release it goes in. g

Re: [IronPython] expose some namespaces of own application

2006-08-16 Thread Dino Viehland
ssage- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stanislas Pinte Sent: Wednesday, August 16, 2006 7:37 AM To: Discussion of IronPython Subject: Re: [IronPython] expose some namespaces of own application Stanislas Pinte a écrit : > Shri Borde a écrit : >> Could y

Re: [IronPython] expose some namespaces of own application

2006-08-16 Thread Stanislas Pinte
age- >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dino Viehland >> Sent: Tuesday, August 15, 2006 8:09 AM >> To: Discussion of IronPython >> Subject: Re: [IronPython] expose some namespaces of own application >> >> It is currently an all-or-n

Re: [IronPython] expose some namespaces of own application

2006-08-16 Thread Stanislas Pinte
t: Tuesday, August 15, 2006 8:09 AM > To: Discussion of IronPython > Subject: Re: [IronPython] expose some namespaces of own application > > It is currently an all-or-nothing situation. As a work around you could > create your own module (import imp.new_module('modulename&#x

Re: [IronPython] expose some namespaces of own application

2006-08-16 Thread Shri Borde
PROTECTED] On Behalf Of Dino Viehland Sent: Tuesday, August 15, 2006 8:09 AM To: Discussion of IronPython Subject: Re: [IronPython] expose some namespaces of own application It is currently an all-or-nothing situation. As a work around you could create your own module (import imp.new_module

Re: [IronPython] expose some namespaces of own application

2006-08-15 Thread Dino Viehland
inal Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stanislas Pinte Sent: Tuesday, August 15, 2006 12:34 AM To: Discussion of IronPython Subject: [IronPython] expose some namespaces of own application Hello, We are using IP as a scripting engine, embedded in one of our prod

[IronPython] expose some namespaces of own application

2006-08-15 Thread Stanislas Pinte
Hello, We are using IP as a scripting engine, embedded in one of our products. I would like to be able to expose a subset of the namespaces present in my application assembly (MyApp.exe) to the scripting engine...but hide the rest: i.e. when a user does an "from a.b.c import Bar", if a.b.c is "h