We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a89f67 commit 6c5e186Copy full SHA for 6c5e186
include/pybind11/detail/internals.h
@@ -445,7 +445,7 @@ PYBIND11_NOINLINE internals &get_internals() {
445
}
446
447
448
- if (internals_pp) {
+ if (internals_pp && *internals_pp) {
449
// We loaded builtins through python's builtins, which means that our `error_already_set`
450
// and `builtin_exception` may be different local classes than the ones set up in the
451
// initial exception translator, below, so add another for our local exception classes.
0 commit comments