-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Adds set_name method of pybind11::capsule class #3866
Commits on Apr 13, 2022
-
Adds set_name method of pybind11::capsule class
This calls PyCapsule_SetName on the underlying capsule object. modified destructors to query capsules's Name [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Handle possible exception thrown by PyCapsule_GetName Also removed accidentally reintroduced use of `const char *&`. [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Fixed function name
Configuration menu - View commit details
-
Copy full SHA for e2cd581 - Browse repository at this point
Copy the full SHA e2cd581View commit details -
Configuration menu - View commit details
-
Copy full SHA for a39171c - Browse repository at this point
Copy the full SHA a39171cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d34d8c1 - Browse repository at this point
Copy the full SHA d34d8c1View commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for c895bc7 - Browse repository at this point
Copy the full SHA c895bc7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e37191 - Browse repository at this point
Copy the full SHA 8e37191View commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for 99724a5 - Browse repository at this point
Copy the full SHA 99724a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0139f2b - Browse repository at this point
Copy the full SHA 0139f2bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 563bcc9 - Browse repository at this point
Copy the full SHA 563bcc9View commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for 46eccb8 - Browse repository at this point
Copy the full SHA 46eccb8View commit details -
get_name_or_throw->get_name_no_throw
If PyCapsule_GetName raises an error we should write as unraisable to consume it and notify user, and then restore the error in flight if any. This way this method called from destructor would not modify interpreter error state.
Configuration menu - View commit details
-
Copy full SHA for 20df0d3 - Browse repository at this point
Copy the full SHA 20df0d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0874dfd - Browse repository at this point
Copy the full SHA 0874dfdView commit details
Commits on Apr 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4ed2c28 - Browse repository at this point
Copy the full SHA 4ed2c28View commit details