[IronPython] How can you create set/frozenset from C# ?

Dan Eloff dan.eloff at gmail.com
Fri Oct 31 12:29:39 PDT 2008

On Thu, Oct 30, 2008 at 5:55 PM, Michael Foord
<fuzzyman at voidspace.org.uk> 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.


More information about the Users mailing list