-
Notifications
You must be signed in to change notification settings - Fork 86
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: ensure that __copy__
and __deepcopy__
are enabled.
#1695
Merged
Commits on Sep 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 1a174e2 - Browse repository at this point
Copy the full SHA 1a174e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f39be3 - Browse repository at this point
Copy the full SHA 5f39be3View commit details
Commits on Sep 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4cc7ae9 - Browse repository at this point
Copy the full SHA 4cc7ae9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d02d927 - Browse repository at this point
Copy the full SHA d02d927View commit details -
fix: use
_length
not_zeros_length
inRegularArray.copy()
`NB. I did think about introducing a `zeros_length` attribute, but I am concerned that we would need to take a great deal of care in handling this parameter for no good cause. Instead, we should make it such that the `length` parameter is the only externally visible one.
Configuration menu - View commit details
-
Copy full SHA for 0a7bf2e - Browse repository at this point
Copy the full SHA 0a7bf2eView commit details -
refactor: replace
Content.__deepcopy__
with abstract methodThis will ensure we *have* to implement this routine. Although we could use a dynamic deepcopy, it opens us up to more bugs (explicit vs implicit) and hides some of the copying logic.
Configuration menu - View commit details
-
Copy full SHA for dd8307e - Browse repository at this point
Copy the full SHA dd8307eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3e9791 - Browse repository at this point
Copy the full SHA a3e9791View commit details -
fix: use
copy.deepcopy
to dispatch copyingThis avoids handling deep copying in two places
Configuration menu - View commit details
-
Copy full SHA for 802c2e9 - Browse repository at this point
Copy the full SHA 802c2e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b63af4 - Browse repository at this point
Copy the full SHA 7b63af4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 894aa3f - Browse repository at this point
Copy the full SHA 894aa3fView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.