[issue43908] array.array should remain immutable

Mark Shannon report at bugs.python.org
Thu Apr 22 04:29:47 EDT 2021


Mark Shannon <mark at hotpy.org> added the comment:

Adding an extra flag seems like the sensible thing to do for 3.10

Longer term, we should decouple immutability from whether something is a heap type.
I don't know why we would care that it is a heap type at all. Which bit of memory it happens to sit in seems irrelevant to anything but the GC.

Erland, could you turn your patch into PR?

----------

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


More information about the Python-bugs-list mailing list