Re: [Python-Dev] Dataclasses, frozen and __post_init__

2018年2月19日 17:09:08 -0800

If I have this right, on the discussion about frozen and hash, a use
case was brought up for taking a few steps to create an instance (and
thus wanting it not frozen) and then wanting it hashable.
Which pointed to the idea of a " freeze this from now on" method.
This seems another use case — maybe it would be helpful to be able to
freeze an instance after creation for multiple use-cases?
-CHB
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to