"Adam Olsen" <[EMAIL PROTECTED]> wrote: > However, I'm beginning to think we shouldn't be comparing them. > defaultdict is a powerful but heavyweight option, intended for > complicated behavior.
Check out Guido's patch. It's not that "heavyweight", and its intended behavior is to make some operations *more* intuitive, if not a bit faster in some cases. Whether or not getorset is introduced, I don't much care, as defaultdict will cover every use case I've been using setdefault for, as well as most of my use cases for get. - Josiah _______________________________________________ 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