Fix #246 -- Add support for deepcopy#265
Conversation
Codecov Report
@@ Coverage Diff @@
## master #265 +/- ##
==========================================
+ Coverage 97.40% 97.56% +0.15%
==========================================
Files 5 5
Lines 270 287 +17
==========================================
+ Hits 263 280 +17
Misses 7 7
Continue to review full report at Codecov.
|
|
Thanks, @vchrisb, to be honest. I am going to need a minute to review this. Django does a lot of magic here to avoid issues with the file objects when coping them. Copying the whole dict seems to break this again. Would you be so kind as to share a little more information about the exception and the error you are seeing in your setup in the issue description? That would help me a lot to identify the best solution. Thanks, Joe |
|
There is no exception itself while executing From my understanding, deepcopy is using the attributes of the You can look at provided test case and run it without the addition of To further clarify, it looks like I don't know why deepcopy still fails with django 2.2, but with it being EOL very soon, I did not further look into it. |
|
oh, and maybe relevant: |
|
@codingjoe I spend some time on it again... Still struggle with unpickle using |
this PR should fix #246
With Django 2.2 being EOL in April 2022,
deepcopysupport is only fixed for Django 3+