<div class="gmail_quote">On Thu, Apr 15, 2010 at 12:02 AM, C. Titus Brown <span dir="ltr"><<a href="mailto:ctb@msu.edu">ctb@msu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
this seems like the right forum to ask -- is there a reason why Python<br>
doesn't have a 'bag' builtin type, e.g.<br></blockquote><div style="margin: 2em 0pt;" name="sig_2341e11ee1">Python 2.7 and 3.1 have a Counter type, that is similar to (but not identical to) that recipe:<br><br>
<a href="http://docs.python.org/py3k/library/collections.html#collections.Counter">http://docs.python.org/py3k/library/collections.html#collections.Counter</a><br><br>--<br>
Daniel Stutzbach, Ph.D.<br>
President, <a href="http://stutzbachenterprises.com">Stutzbach Enterprises, LLC</a>
</div></div><br>