fix: throwing repr caused a segfault (#2389)

* fix: throwing repr caused a segfault

* fixup! ci: include Python 3.9 RC1 (#2387)
This commit is contained in:
Henry Schreiner
2020-08-18 07:14:34 -04:00
committed by GitHub
parent 7dd2bdb0b3
commit cf0a64596e
3 changed files with 25 additions and 2 deletions

View File

@@ -218,4 +218,7 @@ TEST_SUBMODULE(exceptions, m) {
}
});
// Test repr that cannot be displayed
m.def("simple_bool_passthrough", [](bool x) {return x;});
}