On Wed, Dec 31, 2008 at 10:54 AM, MRAB <goo...@mrabarnett.plus.com> wrote: > Occasionally someone posts here wanting to count items and solutions > involving dict or defaultdict are suggested, and I think that a 'bag' class > would be useful. The 'set' class was introduced first in a module, but it > soon became a builtin. My posting was intended a possible reference > implementation.
I think it would be a nice addition to the collections module. cheers James -- http://mail.python.org/mailman/listinfo/python-list