[Python-Dev] PEP: Ordered Class Definition Namespace

Ethan Furman ethan at stoneleaf.us
Tue Jun 7 18:39:28 EDT 2016


On 06/07/2016 03:27 PM, Eric Snow wrote:

> Not all attrs are writable and it's a case-by-case situation: some of
> the ones that are writable started out read-only and changed once
> there was a valid reason.  If anything, it's arguably safer in general
> to take an immutable-by-default approach.

I'm sold.  Leave it read-only.  :)

--
~Ethan~



More information about the Python-Dev mailing list