[issue43908] array.array should remain immutable

Serhiy Storchaka report at bugs.python.org
Mon Apr 26 09:44:36 EDT 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

I think it is safer to merge apply-to-all.diff, and revert the changes for individual types if we have reasons to make them mutable.

Correspondingly, for all converted heap types we should set tp_new = NULL unless they have special tp_new implementation.

----------

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


More information about the Python-bugs-list mailing list