On Mon, May 7, 2012 at 9:30 AM, Jeff Hardy <jdha...@gmail.com> wrote: > On Mon, May 7, 2012 at 7:53 AM, Eric Snow <ericsnowcurren...@gmail.com> wrote: >> Good to know. Is your preference for a named tuple instead of a >> normal class? I'd rather not expose sys.implementation as a sequence >> type, but mostly I want to end up with something that's meaningful for >> everyone. > > Yeah, a normal class is fine (preferable, actually). For some reason I > thought the options were named tuple a la version_info, or dict. > > One other question - for the metadata dict, is it mutable? Even though > mutable is easier to implement, I'd still prefer it be read-only.
A plain dict would be certainly be easier to implement, just using the builtin. Exposing an immutable dict type in CPython could open a can of worms, but if it makes sense we could consider it. -eric _______________________________________________ Ironpython-users mailing list Ironpython-users@python.org http://mail.python.org/mailman/listinfo/ironpython-users