Raymond Hettinger wrote: > Instead of a separate function in collections, it may be sensible to stick > with > the familiar and provide a dictionary contructor for the commonly encounter > use > case of counting things:
I don't think that's a good idea. The dict class should restrict itself to being a general-purpose mapping object, and not become a catchall for utility functions that happen to return a dict. -- Greg _______________________________________________ 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