I should add that…
I did find it is already possible to define a dataclass field for a property that is implemented as `@property`-decorated function, but it's a bit of a hack. It only works if the property has a setter that succeeds, even it the attribute is supposed to be read-only or if it is not appropriate for it's setter to be called during initialization. _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/LHEBFGTOZRO4LD7N5JLQLPV46CE5NCNP/ Code of Conduct: http://python.org/psf/codeofconduct/
