2011/10/6 Petri Lehtinen <pe...@digip.org>: > Lars Buitinck wrote: >> >>> from collections import Counter >> >>> a = Counter([1,2,3]) >> >>> b = a >> >>> a += Counter([3,4,5]) >> >>> a is b >> False > > Sounds like a good idea to me. You should open an issue in the tracker > at http://bugs.python.org/.
Done that: http://bugs.python.org/issue13121 -- Lars Buitinck Scientific programmer, ILPS University of Amsterdam _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com