The future of Python immutability
Scott David Daniels
Scott.Daniels at Acm.Org
Fri Sep 4 11:04:25 EDT 2009
John Nagle wrote:
> ... Suppose, for discussion purposes, we had general "immutable objects".
> Objects inherited from "immutableobject" instead of "object" would be
> unchangeable once "__init__" had returned. Where does this take us?
Traditionally in Python we make that, "once __new__ had returned."
--Scott David Daniels
Scott.Daniels at Acm.Org
More information about the Python-list
mailing list