> Turn the question around: why should there be? > Python is intentionally parsimonious in adding builtins.
For the same reason there are frozensets? I put dicts in sets all the time. I just tuple the items, but that means you have to re-dict it on the way out to do anything useful with it. I am too lazy to write a frozendict or import one, but I would use it if it was a builtin. Nathan -- http://mail.python.org/mailman/listinfo/python-list