Skip to content

Conversation

@alex
Copy link
Member

@alex alex commented Nov 3, 2025

No description provided.


@abc.abstractmethod
def __deepcopy__(self) -> DHPublicKey:
def __deepcopy__(self, memodict: dict) -> DHPublicKey:
Copy link
Contributor

Choose a reason for hiding this comment

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

Why memodict and not memo, like in the Python docs for object.__deepcopy__(self, memo)? Also note the same name was also used in docs/hazmat/primitives/asymmetric/cloudhsm.rst which is not touched in this PR.

Copy link
Member Author

Choose a reason for hiding this comment

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

🙃 I copied from cloudhsm, which is why this matches. Using the same name as python upstrema makes sense.

Copy link
Contributor

@joakimnordling joakimnordling left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thanks!

@reaperhulk reaperhulk merged commit 0d70284 into pyca:main Nov 3, 2025
68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants