[issue24991] Define instance mutability explicitly on type objects?

Nick Coghlan report at bugs.python.org
Sat Dec 9 19:27:44 EST 2017


Nick Coghlan <ncoghlan at gmail.com> added the comment:

I updated some of the issue metadata and added a question mark to the issue title to help make it clearer that this would require a PEP level conceptual enhancement to the language, rather than being about documenting an existing concept.

PEP 557's data classes take a step in that direction with their "frozen=True" parameter: https://www.python.org/dev/peps/pep-0557/#frozen-instances

----------
components: +Interpreter Core
title: Define instance mutability explicitly on type objects -> Define instance mutability explicitly on type objects?
type:  -> enhancement
versions: +Python 3.8 -Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue24991>
_______________________________________


More information about the Python-bugs-list mailing list