Message391519
Why deepcopy is used at all? It is a very specific feature which should not be used by default. If you want to make a deep copy of fields, you can call copy.deepcopy() explicitly.
copy.deepcopy(dataclasses.astuple(obj))
or
dataclasses.astuple(copy.deepcopy(obj)) |
|
Date |
User |
Action |
Args |
2021-04-21 12:52:41 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, eric.smith, mandolaerik |
2021-04-21 12:52:41 | serhiy.storchaka | set | messageid: <1619009561.78.0.623316337778.issue43905@roundup.psfhosted.org> |
2021-04-21 12:52:41 | serhiy.storchaka | link | issue43905 messages |
2021-04-21 12:52:41 | serhiy.storchaka | create | |
|