Skip to content
This repository has been archived by the owner on Feb 2, 2019. It is now read-only.

immutable AttrDict instances #28

Open
timodonnell opened this issue Feb 26, 2015 · 1 comment
Open

immutable AttrDict instances #28

timodonnell opened this issue Feb 26, 2015 · 1 comment

Comments

@timodonnell
Copy link

I find I need an immutable mapping fairly often. Would it be reasonable to add an attrdict.FrozenAttrDict class that supports __hash__?

@bcj
Copy link
Owner

bcj commented Apr 9, 2015

It's unlikely I will implement this (especially since I've pretty much ignored this project for the last 4 months), but I would definitely accept a pull request (based on the 2.0 branch).

I'm going to keep this issue open as I do wish Python had a frozendict, and might feel ambitious enough to give it a try in the future.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants