You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could also add an is_immutable() method to Element, making them immutable by default, and perhaps also to UniqueRepresentation, making unique parents immutable.
It would
._is_immutable
first,isinstance
check againstMutableSequence
,mutableMapping
,MutableSet
(https://docs.python.org/3/library/collections.abc.html).is_immutable()
We could also add an
is_immutable()
method toElement
, making them immutable by default, and perhaps also toUniqueRepresentation
, making unique parents immutable.Related: #15264, #15266, #32496 comment:6
CC: @tscrim @mjungmath
Component: misc
Issue created by migration from https://trac.sagemath.org/ticket/30387
The text was updated successfully, but these errors were encountered: