On Thu, Oct 30, 2008 at 5:55 PM, Michael Foord
<[EMAIL PROTECTED]> wrote:
> SetCollection has a public constructor.
>
> If you need the CodeContext for __new__ then you can get one like this:
>
> LanguageContext language = HostingHelpers.GetLanguageContext(engine);
> CodeContext co = new CodeContext(new Scope(), language)
>


Thanks, that's exactly what I was looking for.

Cheers,
-Dan
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to