Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deepcopy when used after delete! #134

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Conversation

nhz2
Copy link
Contributor

@nhz2 nhz2 commented Jan 29, 2024

Fixes #133

The bug fixed in #112 was reintroduced in #131 when one of the deepcopy_internal methods was deleted.

I have added a basic test for this issue, but I think deepcopy needs more testing.

CC: @stev47 @andyferris @theogf

Copy link

codecov bot commented Jan 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (74e716c) 80.24% compared to head (5eec1d9) 80.23%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #134      +/-   ##
==========================================
- Coverage   80.24%   80.23%   -0.01%     
==========================================
  Files          21       21              
  Lines        2359     2363       +4     
==========================================
+ Hits         1893     1896       +3     
- Misses        466      467       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Owner

@andyferris andyferris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for noticing this :)

@andyferris andyferris merged commit 8788e3e into andyferris:master Jan 30, 2024
17 of 18 checks passed
@nhz2
Copy link
Contributor Author

nhz2 commented Jan 30, 2024

Thank you for maintaining this package and quickly fixing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deepcopy broken after calling delete!.
2 participants