Question about implementing immutability
Iwo Herka
iwoherka at gmail.com
Thu Nov 22 06:03:41 EST 2018
czw., 22 lis 2018 o 10:53 Thomas Jollans <tjol at tjol.eu> napisaĆ(a):
> If you're tempted to go down that route and can require Python 3.7, use
> dataclasses!
I'm aware of them, thanks. :) Dataclasses are great for certain use-cases;
I was just wondering how hard would it be to implement something
approximating generic solution for arbitrary user-defined classes.
Sincerely,
Iwo Herka
More information about the Python-list
mailing list