For a while I’ve been looking around for what I consider an elegant solution to shifting python towards more immutability.
This one looks pretty good to me, but I haven’t tested it yet.
http://jcomo.me/2015/01/03/immutable-containers-using-python-metaclasses/