Dataclass-style object with mutable and immutable properties?
Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Over a Mysterious Island
--
Chapters
00:00 Question
01:29 Accepted answer (Score 6)
04:15 Answer 2 (Score 1)
04:44 Answer 3 (Score 0)
07:40 Answer 4 (Score 0)
08:25 Thank you
--
Full question
https://stackoverflow.com/questions/5853...
Accepted answer links:
[__setattr__]: https://docs.python.org/3/reference/data...
Answer 3 links:
[such as ]: https://docs.python.org/3/library/datacl...
[descriptor approach]: https://docs.python.org/3/howto/descript...
[does not work]: https://stackoverflow.com/q/4912499/1023...
[my post]: https://stackoverflow.com/a/74129237/102...
[in the top answer]: https://stackoverflow.com/a/58628851/102...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #immutability #python37 #mutable #pythondataclasses
#avk47
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Over a Mysterious Island
--
Chapters
00:00 Question
01:29 Accepted answer (Score 6)
04:15 Answer 2 (Score 1)
04:44 Answer 3 (Score 0)
07:40 Answer 4 (Score 0)
08:25 Thank you
--
Full question
https://stackoverflow.com/questions/5853...
Accepted answer links:
[__setattr__]: https://docs.python.org/3/reference/data...
Answer 3 links:
[such as ]: https://docs.python.org/3/library/datacl...
[descriptor approach]: https://docs.python.org/3/howto/descript...
[does not work]: https://stackoverflow.com/q/4912499/1023...
[my post]: https://stackoverflow.com/a/74129237/102...
[in the top answer]: https://stackoverflow.com/a/58628851/102...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#python #immutability #python37 #mutable #pythondataclasses
#avk47