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

feat!(pylace): Return PyResults for several methods vs unwrap #182

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

schmidmt
Copy link
Contributor

Removed several unwraps and replaced them with PyResult returns. Some could not be removed due to PyO3's limitation to non-failable type conversions PyO3/pyo3#1813.

Removed several unwraps and replaced them with `PyResult` returns.
Some could not be removed due to PyO3's limitation to non-failable type conversions PyO3/pyo3#1813.
@schmidmt schmidmt added enhancement New feature or request Python Pertains to the Python API labels Feb 12, 2024
@schmidmt schmidmt self-assigned this Feb 12, 2024
Copy link
Contributor

@Swandog Swandog left a comment

Choose a reason for hiding this comment

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

LGTM!

@schmidmt schmidmt marked this pull request as ready for review February 13, 2024 03:38
@schmidmt schmidmt requested a review from a team as a code owner February 13, 2024 03:38
@schmidmt schmidmt merged commit 8a8e39c into master Feb 13, 2024
10 checks passed
@schmidmt schmidmt deleted the feature/pylace-remove-panics branch May 6, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Python Pertains to the Python API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants