-
Notifications
You must be signed in to change notification settings - Fork 770
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
Deprecate py.from_owned_ptr
methods
#3875
Conversation
99c5819
to
57aac9c
Compare
CodSpeed Performance ReportMerging #3875 will not alter performanceComparing 🎉 Hooray!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! One correction for the deprecation messages, and then a few suggestions of a little bit of extra tidy up...
57aac9c
to
3911f70
Compare
3911f70
to
6d9ce3e
Compare
Co-authored-by: David Hewitt <mail@davidhewitt.dev>
d17bfd8
to
ef65874
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this one looks good to me 👍
self.py() | ||
.from_owned_ptr(ffi::PyComplex_FromCComplex(ffi::_Py_c_neg(val))) | ||
} | ||
(-self.as_borrowed()).into_gil_ref() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
More tidy up for #3684.