On Mon, May 7, 2012 at 7:53 AM, Eric Snow <ericsnowcurren...@gmail.com> wrote: >> I'd strongly prefer the named-tuple approach, like version_info. The >> metadata attribute being a dict is fine (although the PEP doesn't >> actually call that out in "Required Values" section; I had to search >> to find out if it was actually a dict). I have some stuff I want to >> put in there already. > > 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. - Jeff _______________________________________________ Ironpython-users mailing list Ironpython-users@python.org http://mail.python.org/mailman/listinfo/ironpython-users