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

refactor: replace returning pyobject with bound<'p, pyany> in x509::common::parse_general_name #11976

Conversation

hoefling
Copy link
Contributor

This PR is the continuation of #11966, but for the x509::common::parse_general_name function, that does two things:

  1. Replacement of Result<..., CryptographyError> usages with CryptographyResult<...>, originally suggested by @alex in feat(admissions): implement encoding of admissions extension #11892 (comment)
  2. Replacement of CryptographyResult<pyo3::PyObject> return types by CryptographyResult<pyo3::Bound<'p, pyo3::PyAny>>, originally suggested by @alex in feat(admissions): implement parsing of admissions extension #11903 (comment)

…ommon::parse_general_name

Signed-off-by: oleg.hoefling <[email protected]>
@alex alex enabled auto-merge (squash) November 16, 2024 23:38
@alex alex merged commit c9cb69e into pyca:main Nov 16, 2024
60 checks passed
@hoefling hoefling deleted the refactor/remove-pyobject-return-types-in-x509-common-parse-general-name branch November 16, 2024 23:49
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.

2 participants