Could frozendict or frozenmap be of some use for PEP 683 (Immortal objects)?

Marco Sulla Marco.Sulla.Python at gmail.com
Wed Mar 9 15:16:00 EST 2022


As title. dict can't be an immortal object, but hashable frozendict
and frozenmap can. I think this can increase their usefulness.

Another advantage: frozen dataclass will be really immutable if they
could use a frozen(dict|map) instead of a dict as __dict__


More information about the Python-list mailing list