-
Notifications
You must be signed in to change notification settings - Fork 118
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
Use more nanobind API #3024
Use more nanobind API #3024
Conversation
✔️ 0ddcaa4 -> Azure artifacts URL |
This comment has been minimized.
This comment has been minimized.
✔️ 1aa2de8 -> Azure artifacts URL |
This comment has been minimized.
This comment has been minimized.
✔️ 7dc294a -> Azure artifacts URL |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3024 +/- ##
==========================================
- Coverage 67.28% 67.27% -0.01%
==========================================
Files 572 572
Lines 104945 104939 -6
==========================================
- Hits 70607 70602 -5
+ Misses 34338 34337 -1 ☔ View full report in Codecov by Sentry. |
This comment has been minimized.
This comment has been minimized.
🥳 |
2fa061d
to
76305ff
Compare
✔️ 76305ff -> Azure artifacts URL |
This comment has been minimized.
This comment has been minimized.
76305ff
to
c526b7f
Compare
Quality Gate passedIssues Measures |
✔️ c526b7f -> Azure artifacts URL |
Use nanobind to simplify the implementation of: * `NpySObj_contains`, * `NPySecObj_insert`, * `seg_point_processes`.
Objective
Use nanobind API to further simplify operations and correct ref count.
This PR
nb::list
andnb::handle
API to simplify operationsnb::steal
to track a new reference returned byPyObject_CallMethod(tpyobj, "insert"
.inc_ref()
to an object being returned