Backported fixes

This commit is contained in:
Arnaud Diederen
2022-02-14 09:17:16 +01:00
parent 95b5c4066c
commit 01d069ae68
8 changed files with 33 additions and 22 deletions
+3
View File
@@ -1491,6 +1491,9 @@ bool idapython_plugin_t::_extlang_eval_snippet(
qstring *errbuf)
{
PYW_GIL_GET;
#ifdef TESTABLE_BUILD
QASSERT(0, PyErr_Occurred() == nullptr);
#endif
PyObject *globals = _get_module_globals();
bool ok;
if ( globals == nullptr )