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.

Author shihai1991
Recipients Mark.Shannon, corona10, gvanrossum, shihai1991, vstinner
Date 2021-04-22.06:46:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619073969.5.0.0446670128544.issue43908@roundup.psfhosted.org>
In-reply-to
Content
> I would like this type (and other types that have been or will be converted to heap types) to remain immutable.

  Hi, Guido. I am interested in what have been broken in fact? or it's a defined behavior?

> I think we may need a new flag bit meaning "built-in type, immutable". This bit should not be inherited of course.
  
  Aggreed. Adding a new `tp_flag` is a lightweight solution.
History
Date User Action Args
2021-04-22 06:46:09shihai1991setrecipients: + shihai1991, gvanrossum, vstinner, Mark.Shannon, corona10
2021-04-22 06:46:09shihai1991setmessageid: <1619073969.5.0.0446670128544.issue43908@roundup.psfhosted.org>
2021-04-22 06:46:09shihai1991linkissue43908 messages
2021-04-22 06:46:08shihai1991create