Message 391519 - Python tracker
Message391519
| Author | serhiy.storchaka |
|---|---|
| Recipients | eric.smith, mandolaerik, serhiy.storchaka |
| Date | 2021-04-21.12:52:41 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1619009561.78.0.623316337778.issue43905@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
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)) |
|
| History | |||
|---|---|---|---|
| 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 | |