Author serhiy.storchaka
Recipients Guido.van.Rossum, Mark.Shannon, christian.heimes, corona10, erlendaasland, gvanrossum, pablogsal, serhiy.storchaka, shihai1991, shreyanavigyan, vstinner
Date 2021-04-28.22:05:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619647527.13.0.187839820474.issue43908@roundup.psfhosted.org>
In-reply-to
Content
I am not sure tests are needed here. Immutability of the type is mainly an implementation detail. We keep the types immutable because we don't want users to use the feature of mutating these types. I don't think anything bad will happen if in some Python implementation some of these types are Python classes and are mutable. It is not easy to make a Python class immutable. Users will not intentionally write a code depending on mutability of these types because it does not work in CPython.
History
Date User Action Args
2021-04-28 22:05:27serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, vstinner, christian.heimes, Mark.Shannon, Guido.van.Rossum, corona10, pablogsal, shihai1991, erlendaasland, shreyanavigyan
2021-04-28 22:05:27serhiy.storchakasetmessageid: <1619647527.13.0.187839820474.issue43908@roundup.psfhosted.org>
2021-04-28 22:05:27serhiy.storchakalinkissue43908 messages
2021-04-28 22:05:27serhiy.storchakacreate