Pre-PEP: Dictionary accumulator methods
bearophileHUGS at lycos.com
bearophileHUGS at lycos.com
Tue Mar 22 17:37:05 EST 2005
R.H.:
> The setdefault() method would continue to exist but
> would likely not make it into Py3.0.
I agee to remove the setdefault.
I like the new count method, but I don't like the appendlist method,
because I think it's too much specilized.
I too use sets a lot; recently I've suggested to add a couple of set
methods to dicts (working on the keys): intersection() and
difference().
Bearophile
More information about the Python-list
mailing list