
April 15, 2010
5:02 a.m.
Hi all, this seems like the right forum to ask -- is there a reason why Python doesn't have a 'bag' builtin type, e.g. b = bag(foo=bar, baz=bif) assert b.foo == bar assert b.bz == bif ? It's easy to write and there's a great discussion over at the cookbook: http://code.activestate.com/recipes/259174-bag-collection-class/ Inquiring minds want to know! thanks, --titus -- C. Titus Brown, ctb@msu.edu