-
Notifications
You must be signed in to change notification settings - Fork 784
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Implement PyErr::value_bound * Use PyErr::value_bound in conversions * Implement PyErr::from_value_bound * Remove unnecessary clone * Return a reference from PyErr::value_bound * Avoid clone in PyErr::from_value_bound * Use PyErr::from_value_bound instead of from_value * Remove unnecessary .as_borrowed() calls * Remove unused import * Simplify UnraisableCapture.hook * Use Bound::from_owned_ptr_or_opt in fn cause * Update PyErrState::lazy to take Py<PyAny> This is easier to work with elsewhere than `&PyAny` or `Bound<'py, PyAny>`. * Add Bound PyUnicodeDecodeError constructors * Update PyErr::from_value_bound to take Bound * Simplify PyErr::from_value * Simplify PyErr::value * Remove unnecessary reference * Simplify Pyerr::cause implementation * Simplify PyUnicodeDecodeError::new_bound
- Loading branch information
Showing
14 changed files
with
165 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.