-
Notifications
You must be signed in to change notification settings - Fork 10
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
unique_ptr: Fix ownership issues for failed overloads (RobotLocomotion/drake#8160) #11
unique_ptr: Fix ownership issues for failed overloads (RobotLocomotion/drake#8160) #11
Conversation
f8ca528
to
6eb3cd8
Compare
@basicNew @apojomovsky I've submitted the fix for this, and have sent y'all an invite as collaborators for this repo (for review). Could one of y'all do review for this PR? (just a high-level overview - looking at the changes, and ensure that this actually captures the root issue for RobotLocomotion/drake#8160) NOTE: This fork has broken support on Windows (AppVeyor), so those tests will fail. I have deferred fixing those until it becomes important for this fork (either it'll be upstreamed, or someone wants Windows support). |
6eb3cd8
to
afe5ed3
Compare
…d transactions)
afe5ed3
to
b43f2b1
Compare
b43f2b1
to
fe60760
Compare
Review status: 0 of 3 files reviewed at latest revision, all discussions resolved, some commit checks failed. Comments from Reviewable |
Reviewed 2 of 2 files at r1, 1 of 1 files at r3. Comments from Reviewable |
…d transactions)
pybind11: Incorporate RobotLocomotion/pybind11#11 (unique_ptr overload transactions)
* Support free-threaded CPython (PEP 703) Some additional locking is added in the free-threaded build when `Py_GIL_DISABLED` is defined: - Most accesses to internals are protected by a single mutex - The registered_instances uses a striped lock to improve concurrency Pybind11 modules can indicate support for running with the GIL disabled by calling `set_gil_not_used()`. * refactor: use PYBIND11_MODULE (RobotLocomotion#11) Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> * Address code review * Suppress MSVC warning * Changes from review * style: pre-commit fixes * `py::mod_gil_not_used()` suggestion. * Update include/pybind11/pybind11.h --------- Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com> Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com>
This change is