frozendict
Nathan Rice
nathan.alexander.rice at gmail.com
Wed Feb 8 22:43:33 EST 2012
More information about the Python-list mailing list
Wed Feb 8 22:43:33 EST 2012
- Previous message (by thread): frozendict
- Next message (by thread): frozendict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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
- Previous message (by thread): frozendict
- Next message (by thread): frozendict
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list