[Python-ideas] question - 'bag' type

Daniel Stutzbach daniel at stutzbachenterprises.com
Thu Apr 15 07:08:26 CEST 2010


On Thu, Apr 15, 2010 at 12:02 AM, C. Titus Brown <ctb at msu.edu> wrote:

> this seems like the right forum to ask -- is there a reason why Python
> doesn't have a 'bag' builtin type, e.g.
>
Python 2.7 and 3.1 have a Counter type, that is similar to (but not
identical to) that recipe:

http://docs.python.org/py3k/library/collections.html#collections.Counter

--
Daniel Stutzbach, Ph.D.
President, Stutzbach Enterprises, LLC <http://stutzbachenterprises.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20100415/cb3cf75a/attachment.html>


More information about the Python-ideas mailing list