➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 serhiy.storchaka
收信人 Guido.van.Rossum, Mark.Shannon, christian.heimes, corona10, erlendaasland, gvanrossum, pablogsal, serhiy.storchaka, shihai1991, shreyanavigyan, vstinner
日期 2021-04-28.22:05:27
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1619647527.13.0.187839820474.issue43908@roundup.psfhosted.org>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2021-04-28 22:05:27serhiy.storchaka修改recipients: + serhiy.storchaka, gvanrossum, vstinner, christian.heimes, Mark.Shannon, Guido.van.Rossum, corona10, pablogsal, shihai1991, erlendaasland, shreyanavigyan
2021-04-28 22:05:27serhiy.storchaka修改messageid: <1619647527.13.0.187839820474.issue43908@roundup.psfhosted.org>
2021-04-28 22:05:27serhiy.storchaka链接issue43908 messages
2021-04-28 22:05:27serhiy.storchaka创建