This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients eric.smith, mandolaerik, serhiy.storchaka
Date 2021-04-21.13:20:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619011247.44.0.420359353392.issue43905@roundup.psfhosted.org>
In-reply-to
Content
The reason for the deep copying was to support changing a hierarchy of dataclasses into something that could be JSON serialized. But it didn't really work out. It recurses into dataclasses, namedtuples, lists, tuples, and dicts, and deep copies everything else.

As I said, it's a design flaw.
History
Date User Action Args
2021-04-21 13:20:47eric.smithsetrecipients: + eric.smith, serhiy.storchaka, mandolaerik
2021-04-21 13:20:47eric.smithsetmessageid: <1619011247.44.0.420359353392.issue43905@roundup.psfhosted.org>
2021-04-21 13:20:47eric.smithlinkissue43905 messages
2021-04-21 13:20:47eric.smithcreate