Open mkoeppe opened 2 weeks ago
Dictionaries are mutable, and copying them using copy results in dictionaries that share internal objects, which causes unwelcome surprises.
copy
Author: @mkoeppe, @ComboProblem
Fixes #31308.
Documentation preview for this PR (built with commit 2589af6436d64fb2b1df40481d5a8623c06efaa2; changes) is ready! :tada: This preview will update shortly after each push to this PR.
Dictionaries are mutable, and copying them using
copy
results in dictionaries that share internal objects, which causes unwelcome surprises.Author: @mkoeppe, @ComboProblem
Fixes #31308.
:memo: Checklist
:hourglass: Dependencies