Temporarily made our GIL status assertions (added in 2.10.2) disabled by default (re-enable manually by defining PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF, will be enabled in 2.11). #4432
Improved error messages when inc_ref/dec_ref are called with an invalid GIL state. #4427#4436
Bug Fixes:
Some minor touchups found by static analyzers. #4440
Temporarily made our GIL status assertions (added in 2.10.2) disabled by
default (re-enable manually by defining
PYBIND11_ASSERT_GIL_HELD_INCREF_DECREF, will be enabled in 2.11).
[#4432](https://github.com/pybind/pybind11/issues/4432) <https://github.com/pybind/pybind11/pull/4432>_
Improved error messages when inc_ref/dec_ref are called with an
invalid GIL state.
[#4427](https://github.com/pybind/pybind11/issues/4427) <https://github.com/pybind/pybind11/pull/4427>_
[#4436](https://github.com/pybind/pybind11/issues/4436) <https://github.com/pybind/pybind11/pull/4436>_
Bug Fixes:
Some minor touchups found by static analyzers.
[#4440](https://github.com/pybind/pybind11/issues/4440) <https://github.com/pybind/pybind11/pull/4440>_
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pybind11 from 2.10.2 to 2.10.3.
Release notes
Sourced from pybind11's releases.
Changelog
Sourced from pybind11's changelog.
Commits
0bd8896
chore: prepare for 2.10.3 (#4437)d78de29
chore(deps): update pre-commit hooks (#4439)9d6a79c
fix: issuses detected by static analyzer (#4440)050de89
ci: remove clang 10 C++20 (it broke recently) (#4438)0abe64c
Fixdetail::obj_class_name()
to work correctly for meta classes. (#4436)e414c4b
fix: improve the error reporting for inc_ref GIL failures (#4427)2de6e39
[v2.10] Revert the addition of the GIL check feature (#4432)0376417
Merge branch 'master' into v2.10Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)