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::certificate::parse_distribution_point_reasons #11969

Conversation

hoefling
Copy link
Contributor

This PR is the continuation of #11966, but for the x509::certificate::parse_distribution_point_reasons 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)

…ertificate::parse_distribution_point_reasons

Signed-off-by: oleg.hoefling <[email protected]>
@alex alex merged commit 4641301 into pyca:main Nov 16, 2024
60 checks passed
@hoefling hoefling deleted the refactor/remove-pyobject-return-types-in-x509-certificate-parse-distribution-point-reasons branch November 16, 2024 23:17
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