On 2/8/2012 8:23 PM, Evan Driscoll wrote:
Hi all,
I've been trying for a few days (only a little bit at a time) to come up
with a way of implementing a frozendict that doesn't suck. I'm gradually
converging to a solution, but I can't help but think that there's some
subtlety that I'm probably missing which is why it's not already provided.
Does anyone know why Python doesn't already come with a frozendict, or
why there seem to only be a couple attempts to write one?
Turn the question around: why should there be?
Python is intentionally parsimonious in adding builtins.
--
Terry Jan Reedy
--
http://mail.python.org/mailman/listinfo/python-list