I am surprised nobody suggested we put those two methods into a separate module (say dictutils or even UserDict) as functions:
from dictutils import tally, listappend
tally(mydict, key)
listappend(mydict, key, value)
I am -1 about a specific subclass of dict in the standard library, I
would not mind about a few new functions
in an utility module.
Michele Simionato
--
http://mail.python.org/mailman/listinfo/python-list
